Project

General

Profile

Actions

Bug #20749

closed

Error message not shown in output with prism

Added by luke-gru (Luke Gruber) 2 months ago. Updated about 2 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:119220]

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

Also available in: Atom PDF

Like0
Like0Like0