Actions
Bug #13898
closedBlock parsing regression
Bug #13898:
Block parsing regression
Description
Upgrading to Ruby 2.4.2p198 from Ruby 2.4.1p111 introduces the following regression:
irb(main):001:0> def let(x, &b); end
=> :let
irb(main):002:0> let :foo { nil }
SyntaxError: (irb):2: syntax error, unexpected '{', expecting end-of-input
let :foo { nil }
^
from /home/tt/.rubies/ruby-2.4.2/bin/irb:11:in `<main>'
Actions