Commit f0b06d6
committed
Handle invalid string pattern key
When a pattern match is using a string as a hash pattern key and is
using it incorrectly, we were previously assuming it was a symbol.
In the case of an error, that's not the case. So we need to add a
missing node in this case.1 parent c2dfb8e commit f0b06d6
2 files changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17336 | 17336 | | |
17337 | 17337 | | |
17338 | 17338 | | |
17339 | | - | |
| 17339 | + | |
| 17340 | + | |
| 17341 | + | |
| 17342 | + | |
| 17343 | + | |
17340 | 17344 | | |
17341 | 17345 | | |
17342 | 17346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments