#784: subclassing breaks multi dispatch
---------------------+------------------------------------------------------
Reporter: coke | Owner:
Type: bug | Status: new
Priority: blocker | Milestone:
Component: none | Version: branch
Severity: medium | Keywords:
Lang: tcl | Patch:
Platform: |
---------------------+------------------------------------------------------
Comment(by treed):
Coke pointed me to this bug as possibly related to a problem I'm having
with Cardinal, so I started poking at the test given above. I thought I'd
share my results. Adding the following code to the PIR file:
{{{
.namespace ['MyInt']
.sub 'i_subtract_int' :vtable :method
.param pmc other
$I0 = other
$I1 = self
$I2 = $I1 - $I0
self = $I2
.end
}}}
Causes the bug to be routed around, and the script prints 1 twice as
expected. Hence, I don't think it's related to my problem (where I *have*
reimplemented the op, but it's still not being found), but I thought I'd
stick this here anywhere.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/784#comment:6>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets