Actions
Bug #11380
closedParser regression in 2.3?
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0dev (2015-07-21 trunk 51319) [x86_64-darwin14]
Backport:
Description
This code works with 2.2 but causes SyntaxError with 2.3.
def foo(pr, options, &blk)
p pr.call
end
foo -> { :hello }, a: 1 do end
#=> t.rb:5: syntax error, unexpected keyword_do, expecting end-of-input
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0