Actions
Bug #20749
closedError message not shown in output with prism
Description
test.rb:
p = Proc.new
./ruby --parser=parse.y -I../ruby/lib -I. -I.ext/x86_64-linux -I.ext/common -r./x86_64-linux-fake ../ruby/test.rb
../ruby/test.rb:1:in 'Proc.new': tried to create Proc object without a block (ArgumentError)
from ../ruby/test.rb:1:in '<main>'
./ruby --parser=prism -I../ruby/lib -I. -I.ext/x86_64-linux -I.ext/common -r./x86_64-linux-fake ../ruby/test.rb
../ruby/test.rb:1:in 'Proc.new': ArgumentError
from ../ruby/test.rb:1:in '<main>'
Actions
Like0
Like0Like0