prism icon indicating copy to clipboard operation
prism copied to clipboard

Prism accepts some expression in range_node.left that Ruby rejects when the code includes `..a..`

Open tompng opened this issue 2 years ago • 0 comments

Prism accepts these codes

+ ..a .. # (+..a)..
a + ..b .. # (a + ..b)..
a if ..b .. # (a if ..b)..
def f = ..a .. # (def f = ..a)..

tompng avatar Dec 08 '23 11:12 tompng