# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #126378]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=126378 >
m: my $a = 2; my $b = 2; $a, $b = $b, $a + $b; say $b
rakudo-moar aedaae: OUTPUT«WARNIN
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #126375]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=126375 >
Code:
[SR-]
Result:
===SORRY!===
Unknown QAST node type NQPMu
On Sat Oct 10 08:33:13 2015, FROGGS.de wrote:
> say class { has Int $.foo is default(0) }.new.foo
> rakudo-moar 025ec1: OUTPUT«(Int)»
>
> class Foo { has Int $.foo is default(0) }; say Foo.new.foo
> rakudo-moar 025ec1: OUTPUT«(Int)»
>
> I would expect that foo is zero in both cases.
Even less
Fixed with 23248109c9c93db2774fcc9ce0c849a73a01fdad
Tested with f8c0844fbffeac6022603cda8bfbc4f1f35e9a57