#1040: inplace math on subclasses failing (MMD/vtable)
--------------------+-------------------------------------------------------
 Reporter:  coke    |       Owner:       
     Type:  bug     |      Status:  new  
 Priority:  normal  |   Milestone:       
Component:  none    |     Version:  trunk
 Severity:  high    |    Keywords:       
     Lang:          |       Patch:       
 Platform:          |  
--------------------+-------------------------------------------------------
 Originally posted in [http://rt.perl.org/rt3/Ticket/Display.html?id=60036
 RT] by pmichaud.

 {{{
 $ cat y.pir;./parrot y.pir
 .sub main :main
 $P1 = new 'Integer'
 assign $P1, 4
 $P1 *= 3
 say $P1

 $P0 = subclass 'Integer', 'MyInt'
 $P1 = new 'MyInt'
 assign $P1, 4
 $P1 *= 3
 say $P1

 .end


 12
 Multiple Dispatch: No suitable candidate found for 'i_multiply_int',
 with signature 'PI'
 current instr.: 'main' pc 21 (y.pir:9)
 }}}

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1040>
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