prism icon indicating copy to clipboard operation
prism copied to clipboard

Assigning command call is allowed where rejected in parse.y

Open tompng opened this issue 1 year ago • 1 comments

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

tompng avatar Sep 30 '24 17:09 tompng

I fixed the first two cases in https://github.com/ruby/prism/pull/3654 but the last one is still up for grabs

Earlopain avatar Oct 28 '25 12:10 Earlopain