Project

General

Profile

Actions

Bug #20749

closed

Error message not shown in output with prism

Added by luke-gru (Luke Gruber) about 2 months ago. Updated about 1 month 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>'

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

This was an issue with the error_highlight gem. I made a PR here: https://github.com/ruby/error_highlight/pull/48

Actions #2

Updated by mame (Yusuke Endoh) about 1 month ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0