Ticket #1078 (new bug)
Parrot goes into infinite loop when attempting to test exceptions with throws_like()
Reported by: | dukeleto | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | testing | Version: | 1.6.0 |
Severity: | high | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: | all |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.