Commit 3c7a897
[ruby/prism] Reject
and also `1 and foo = bar baz`
This is a partial fix for ruby/prism#3106
It still accepts `a = b c and 1`
ruby/prism@7a13d3535b1 if foo = bar baz
1 parent c22d84a commit 3c7a897
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20909 | 20909 | | |
20910 | 20910 | | |
20911 | 20911 | | |
20912 | | - | |
| 20912 | + | |
20913 | 20913 | | |
20914 | 20914 | | |
20915 | 20915 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments