ruby / prism

Prism Ruby parser
https://ruby.github.io/prism/
MIT License
825 stars 139 forks source link

Assigning command call is allowed where rejected in parse.y #3106

Open tompng opened 6 days ago

tompng commented 6 days ago

These command calls are rejected in parse.y but accepted in prism

1 if a = b c
1 and a = b c
a = b c and 1