[perl #130629] [REGRESSION] custom defined method no longer works (method defined { … })

2017-01-24 Thread Zoffix Znet via RT
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

Re: [perl #130629] [REGRESSION] custom defined method no longer works (method defined { … })

2017-01-23 Thread Elizabeth Mattijsen
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

[perl #130629] [REGRESSION] custom defined method no longer works (method defined { … })

2017-01-23 Thread via RT
# 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