# New Ticket Created by Lloyd Fournier # Please include the string: [perl #127660] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=127660 >
class A { submethod Bool { True } }; say A || "lose" #-> lose class A { method Bool { True } }; say A || "lose" #-> # (A) It looks like we have places where the .^submethod_table is ignored https://github.com/rakudo/rakudo/blob/nom/src/Perl6/Metamodel/Mixins.nqp#L87 (though not sure if that line is the culprit in this case because the above are not mixins). IRC: http://irclog.perlgeek.de/perl6/2016-03-05#i_12141111