# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130628]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130628 >
Code:
grammar A { token TOP { }; token so { foo } }; say A.parse('fo
# 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
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130630]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130630 >
Code:
say “42”.Rat.nude
Result (2015.12,2016.06):
Cannot convert s
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
Fixed with https://github.com/rakudo/rakudo/commit/f230224d27 , tests needed
> On 23 Jan 2017, at 10:47, Aleks-Daniel Jakimenko-Aleksejev (via RT)
> wrote:
>
> # New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
> # Please include the string: [perl #130630]
> # in the subject line of al