# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #60036] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60036 >
As of r31667 (pre-mmd), the following worked: r31667$ cat 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 r31667$ ./parrot y.pir 12 12 r31667$ In the current head it fails: $ ./parrot y.pir 12 Multiple Dispatch: No suitable candidate found for 'i_multiply_int', with signature 'PI' current instr.: 'main' pc 21 (y.pir:9) $ This causes some issues for Rakudo's inplace ops (RT #60016). This may also be related to the issues in #59788 and #59630 . Pm