On Mon, 23 Jan 2017 01:37:16 -0800, alex.jakime...@gmail.com wrote:
> Code:
> class C { method defined { True } }; say ?C
>
> Result (2015.12,2016.02):
> True
>
> Result (2016.03,HEAD):
> False
>
>
>
> Bisectable points to
> https://github.com/rakudo/rakudo/commit/24b4b23a80337888cf5ea47b091d2
I feel this now belongs in the DIHWIDT category.
If you want ?C to always return True, add a method "Bool" rather than a method
"defined":
$ 6 'class C { method Bool { True } }; say ?C'
True
I think this is also clearer, as prefix: generally means boolification, aka
.Bool.
So I would reje
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130629]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130629 >
Code:
class C { method defined { True } }; say ?C
Result (2015.12,20