Closed p6rt closed 6 years ago
my $i = 42; my $foo:bar«$i»; # OUTPUT: #===SORRY!=== #QAST::Var with scope '' NYI # #shell returned 1
On Sat, 23 Jul 2016 16:49:44 -0700, gfldex wrote:
my $i = 42; my $foo:bar«$i»; # OUTPUT: #===SORRY!=== #QAST::Var with scope '' NYI # #shell returned 1
Thank you for the report. This is now fixed in branch `post-release`.
Note that the variable needs to have compile-time value to be properly used inside the colonpair, so it should be `BEGIN my $i = 42; my $foo:bar«$i»;` or `$i` should be a `constant`.
Fix: https://github.com/rakudo/rakudo/commit/a35cd4e6529b8f6 Test: https://github.com/perl6/roast/commit/cd24eb0310ccea73c
The RT System itself - Status changed from 'new' to 'open'
@zoffixznet - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#128712 (status was 'resolved')
Searchable as RT128712$