# New Ticket Created by  Allison Randal 
# Please include the string:  [perl #38850]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38850 >


When you pass a non-existent option to the "get_options" method in  
Getopt::Obj, it tries to clear a non-existent exception handler at  
the end of the method and dies. (I discovered this by accident, when  
I mistyped the "output" option as "outfile". )

$ parrot tgc.pir --outfile=dummy.pir ../../examples/tge/branch/branch.g
No exception to pop.
current instr.: 'Getopt::Obj :: get_options' pc 759 (/Volumes/ 
lilalUFS/projects/svk/parrot/runtime/parrot/library/Getopt/Obj.pir: 
344)called from Sub 'main' pc 45 (tgc.pir:51)

Looks like more exceptions are being thrown than the author expects,  
but I don't have time to look into it further at the moment.

Allison

Reply via email to