[perl #126413] [BUG] WhateverCode loses topic inside given modifier

[email protected] ("Zoffix Znet via RT")
Newsgroups perl.perl6.compiler
Message-ID <[email protected]>
On Tue, 20 Oct 2015 18:11:22 -0700, larry wrote:
> This works:
> 
> > p6 'given 10 { say (* + $_)(32) }'
> 42
> 
> but this doesn't:
> 
> > p6 'say (* + $_)(32) given 10'
> Use of uninitialized value of type Any in numeric context  in whatevercode
> at -e:1
> 32


Thank you for the report. This is now fixed.

Fix:  https://github.com/rakudo/rakudo/commit/1ee89b54074e80c
Test: https://github.com/perl6/roast/commit/2f2998733a2d8132c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.