D
DaZoner
I don't know if this case has been requested yet so sorry for the noise if
it has.
It would be nice if this code:
100.times | i |
puts i
end
.... reported that the "do" is missing on line 1 rather than saying syntax
error on line 2. The error can be difficult to find when you have nested
loops and much intervening code.
it has.
It would be nice if this code:
100.times | i |
puts i
end
.... reported that the "do" is missing on line 1 rather than saying syntax
error on line 2. The error can be difficult to find when you have nested
loops and much intervening code.