New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
submethod Bool isn't called when object used in Boolean context #5163
Comments
From @LLFournclass A { submethod Bool { True } }; say A || "lose" #-> lose 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 |
From @jnthnOn Fri Mar 04 21:02:59 2016, lloyd.fourn@gmail.com wrote:
There were two places, both of which are now fixed. Tests in S12-methods/submethods.t and S14-roles/mixin.t. /jnthn |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
From @LLFournMuch appreciated. Jnthn++
|
Migrated from rt.perl.org#127660 (status was 'resolved')
Searchable as RT127660$
The text was updated successfully, but these errors were encountered: