#342: Wrong line numbers in backtrace
------------------------+---------------------------------------------------
Reporter: d...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
------------------------+---------------------------------------------------
{{{
box:Desktop $ cat raise1.rb
p 42
raise "ouch"
box:Desktop $ macruby raise1.rb
42
core:in `raise:': ouch (RuntimeError)
from raise1.rb:1:in `<main>'
box:Desktop $ cat raise2.rb
#p 42
raise "ouch"
box:Desktop $ macruby raise2.rb
core:in `raise:': ouch (RuntimeError)
from raise2.rb:2:in `<main>'
}}}
The only difference between the files is the comment char # in line 1!
BTW, thanks for implementing the long awaited backtrace, great job!
--
Ticket URL: <http://www.macruby.org/trac/ticket/342>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel