Raku / old-issue-tracker

Tickets from RT
https://github.com/Raku/old-issue-tracker/issues
2 stars 1 forks source link

macro test failure, building an AST incrementally in a for loop #3353

Open p6rt opened 10 years ago

p6rt commented 10 years ago

Migrated from rt.perl.org#121533 (status was 'stalled')

Searchable as RT121533$

p6rt commented 10 years ago

From @moritz

This test from S06-macro/unouoting.t fails on raudo-moar, but passes on the other two backends​:

{ # building an AST incrementally in a for loop   macro podolsky() {   my $q = quasi { 2 };   $q = quasi { 1 + {{{$q}}} } for ^2;   $q;   }

  is podolsky(), 4, "can build ASTs in a for loop"; }

It dies at compile time with

===SORRY!=== Specified code ref has no outer

p6rt commented 8 years ago

@coke - Status changed from 'new' to 'stalled'