mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 12:34:21 +00:00
and also `1 and foo = bar baz` This is a partial fix for https://github.com/ruby/prism/issues/3106 It still accepts `a = b c and 1` https://github.com/ruby/prism/commit/7a13d3535b
7 lines
200 B
Plaintext
7 lines
200 B
Plaintext
1 if foo = bar baz
|
|
^~~ unexpected local variable or method, expecting end-of-input
|
|
|
|
1 and foo = bar baz
|
|
^~~ unexpected local variable or method, expecting end-of-input
|
|
|