#300: Bad .get_results in a exception handler gives infinite recursion
----------------------+-----------------------------------------------------
 Reporter:  NotFound  |       Owner:     
     Type:  bug       |      Status:  new
 Priority:  normal    |   Milestone:     
Component:  core      |     Version:     
 Severity:  medium    |    Keywords:     
     Lang:            |       Patch:     
 Platform:            |  
----------------------+-----------------------------------------------------

Comment(by jkeenan):

 I probably don't understand the problem here, but tonight I put this PIR
 into a file and attempted to execute it.
 {{{
 $ cat bad.pir
 # Copyright (C) 2006-2009, Parrot Foundation.
 # $Id: skeleton.pir 38369 2009-04-26 12:57:09Z fperrad $

 .sub main :main
     push_eh catchall
     $P0 = new ['Exception' ]
     throw $P0
 catchall:
     .get_results($P1, $P2)
 .end

 # Local Variables:
 #   mode: pir
 #   fill-column: 100
 # End:
 # vim: expandtab shiftwidth=4 ft=pir:

 $ ./parrot bad.pir
 $
 }}}
 I.e., no output; no evidence of error.  Is there something wrong with
 that?

 kid51

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/300#comment:1>
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