JoshCheek / seeing_is_believing

Displays the results of every line of code in your file
1.31k stars 54 forks source link

2.6.0 bug #134

Closed JoshCheek closed 6 years ago

JoshCheek commented 6 years ago
require 'stringio'
$stderr = StringIO.new
RubyVM::AST.parse '1+'
$stderr # => 
$stderr = STDERR
# raise 'omg' # => RuntimeError: omg

# !> /Users/josh/.gem/ruby/2.6.0/gems/seeing_is_believing-3.6.0/lib/seeing_is_believing/event_stream/producer.rb:90:in `record_exception': undefined method `size' for nil:NilClass (NoMethodError)
# !> \tfrom /Users/josh/.gem/ruby/2.6.0/gems/seeing_is_believing-3.6.0/lib/seeing_is_believing/the_matrix.rb:81:in `block in <top (required)>'
JoshCheek commented 6 years ago

This is a Ruby bug. It's been fixed here, but hasn't been released yet.