On Sat, 04 Feb 2017 16:36:21 -0800, jeff.lina...@gmail.com wrote:
> I type this into the REPL:
> 
> loop (my $i = 10; $i > 0; $i--) { say $i; }
> 
> It loops and then crashes:
> 
> 10
> 9
> 8
> 7
> 6
> 5
> 4
> 3
> 2
> 1
> Type check failed in binding to $value; expected Any but got Mu (Mu)
>   in any interactive at src/Perl6/Compiler.nqp line 62
> 
> But put it in a file and and it finishes fine.  This is Rakudo version
> 2017.01 built on MoarVM version 2017.01 implementing Perl 6.c.


Thank you for the report. This is now fixed.

Fix: https://github.com/rakudo/rakudo/commit/1b99196141
Test: https://github.com/perl6/roast/commit/04fa01361b

Reply via email to