On Fri, 01 Dec 2017 12:09:05 -0800, alex.jakime...@gmail.com wrote:
> Still reproducible (2017.11, HEAD(5929887)), but is supposed to work?

Don't see any reason why that'd be questionable.

> On 2015-02-09 17:43:52, rayd...@cyberuniverses.com wrote:
> > m: my $a; BEGIN { $a := 1; say $a; }; say $a;
> > rakudo-{parrot,moar} 0cb22e: OUTPUT«1␤(Any)␤»
> >
> > m: my $a; BEGIN { $a = 1; say $a; }; say $a; # works with assignment
> > rakudo-{parrot,moar} 0cb22e: OUTPUT«1␤1␤»


Another manifestation of the same bug:

<Zoffix__> m: BEGIN { my $a1 := 42; say $a1; }
<camelia> rakudo-moar deffe54b8: OUTPUT: «42␤»
<Zoffix__> m: BEGIN { my $a1 = 42; say $a1; }
<camelia> rakudo-moar deffe54b8: OUTPUT: «42␤»
<Zoffix__> m: BEGIN my $a1 = 42; say $a1;
<camelia> rakudo-moar deffe54b8: OUTPUT: «42␤»
<Zoffix__> m: BEGIN my $a1 := 42; say $a1;
<camelia> rakudo-moar deffe54b8: OUTPUT: «(Mu)␤»

Reply via email to