#154: subclassed ExceptionHandlers can't handle exceptions
--------------------+-------------------------------------------------------
Reporter: cotto | Owner: whiteknight
Type: bug | Status: assigned
Priority: major | Milestone:
Component: core | Version: trunk
Severity: medium | Keywords: exception, subclass, exceptionhandler
Lang: | Patch:
Platform: all |
--------------------+-------------------------------------------------------
Comment(by cotto):
The original example is still failing for me, although now it's with an
assertion failure and a backtrace rather than a segfault. Adding the
can_handle snippet from whiteknight's first reply makes the example run.
I'd expect the subclass of ExceptionHandler to inherit can_handle from its
parent. Unless there's a reason that such inheritance shouldn't happen,
once it's working this ticket can be closed.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/154#comment:10>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets