#1078: Parrot goes into infinite loop when attempting to test exceptions with
throws_like()
----------------------+-----------------------------------------------------
Reporter: dukeleto | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: testing | Version: 1.6.0
Severity: high | Keywords:
Lang: | Patch:
Platform: all |
----------------------+-----------------------------------------------------
This code causes Parrot to sing the never ending story:
{{{
throws_like(<<'CODE','blah','invalid attr')
.sub main
$P0 = new 'ExceptionHandler'
set_addr $P0, _handler
push_eh $P0
throw $P0
_handler:
get_results "0", $P0
getattribute $P5, $P0, 'foo'
.end
CODE
}}}
I ran into this while attempting to convert the exceptions tests to PIR.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1078>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets