#532: The backtrace does not contain line numbers for code in blocks ----------------------------------------+----------------------------------- Reporter: vincent.isamb...@… | Owner: lsansone...@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ----------------------------------------+----------------------------------- Sample code: (lines.rb) {{{ begin 1.times do raise '' end rescue => e puts e.backtrace end }}}
MacRuby: {{{ core:in `raise:' core:in `times' lines.rb:in `<main>' }}} Ruby 1.9: {{{ lines.rb:3:in `block in <main>' lines.rb:2:in `times' lines.rb:2:in `<main>' }}} In the MacRuby backtrace, there is no line number (or even file name) for the code in the block. -- Ticket URL: <http://www.macruby.org/trac/ticket/532> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel