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>'
Updated by luke-gru (Luke Gruber) 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
Updated by mame (Yusuke Endoh) about 2 months ago
- Status changed from Open to Closed
Actions
Like0
Like0Like0