Commit 9f38ee1
[ruby/prism] Fix parser translator ast for empty regex
In that specific case, no string node is emitted
ruby/prism@1166db13dd1 parent a234fd5 commit 9f38ee1
File tree
2 files changed
+5
-1
lines changed- lib/prism/translation/parser
- test/prism/fixtures
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1512 | 1512 | | |
1513 | 1513 | | |
1514 | 1514 | | |
1515 | | - | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
1516 | 1518 | | |
1517 | 1519 | | |
1518 | 1520 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
0 commit comments