Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
p6rt opened this issue Mar 29, 2014 · 2 comments
Open

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

p6rt opened this issue Mar 29, 2014 · 2 comments
Labels
MoarVM Related to Rakudo-MoarVM

Comments

@p6rt
Copy link

p6rt commented Mar 29, 2014

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

Searchable as RT121533$

@p6rt
Copy link
Author

p6rt commented Mar 29, 2014

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
Copy link
Author

p6rt commented Apr 26, 2016

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

@p6rt p6rt added the MoarVM Related to Rakudo-MoarVM label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MoarVM Related to Rakudo-MoarVM
Projects
None yet
Development

No branches or pull requests

1 participant