G
Gary Wright
I just came across an unexpected parsing problem:
x = 3 unless true # parses just fine, x = nil
p(3 unless true) # parser chokes on unless
p((3 unless true)) # OK, 'nil' is printed
This seems like a bug in the parser rather than a real
syntax problem, but maybe I'm missing something?
Gary Wright
x = 3 unless true # parses just fine, x = nil
p(3 unless true) # parser chokes on unless
p((3 unless true)) # OK, 'nil' is printed
This seems like a bug in the parser rather than a real
syntax problem, but maybe I'm missing something?
Gary Wright