#1653: pbc_to_exe loses file information.
--------------------+-------------------------------------------------------
 Reporter:  coke    |       Owner:       
     Type:  bug     |      Status:  new  
 Priority:  normal  |   Milestone:       
Component:  none    |     Version:  trunk
 Severity:  medium  |    Keywords:       
     Lang:  tcl     |       Patch:       
 Platform:          |  
--------------------+-------------------------------------------------------
 I noticed this while trying to debug partcl (0597fb5 from
 github.com/partcl/partcl on parrot r46913).

 {{{
 $ ./tclsh
 expected integer but got "0"
 current instr.: 'parrot;TclString;get_integer' pc -1 ((unknown file):-1)
 called from Sub 'prepare_lib' pc 27503 (runtime/tcllib.pir:83)
 ... call repeated 1 times
 called from Sub '_main' pc 0 (src/tclsh.pir:33)
 ... call repeated 1 times
 $ parrot src/tclsh.pir
 expected integer but got "0"
 current instr.: 'parrot;TclString;get_integer' pc 2471
 (src/class/tclstring.pir:275)
 called from Sub 'prepare_lib' pc 27503 (runtime/tcllib.pir:83)
 ... call repeated 1 times
 called from Sub '_main' pc 0 (src/tclsh.pir:33)
 ... call repeated 1 times
 }}}

 Note that the first "current inst" line loses the filename it came from in
 the pbc_to_exe version.

 Is this expected? a bug? If expected, a flag to add it back in would be
 nice.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1653>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to