Closed nanobowers closed 1 year ago
I found another case that is similar but different, it tries to parse to the EOF (or end of text) and seems to be expecting a missing end
statement:
def abc
a,b = true,false
while a && b do
puts :hi
end
end
In case this helps, workarounds that make the problem go away are changing the while
line to one of these two:
while a && b # without the "do"
while (a && b) do # add parentheses
Archiving this repo in favor of YARP...
Not sure i've written code like this - I found it out in the wild when testing the parser.