Skip to content

Commit

Permalink
[js] The children of a QAST::Var with a param scope are compiled and …
Browse files Browse the repository at this point in the history
…executed.
  • Loading branch information
pmurias committed Sep 26, 2016
1 parent 6555352 commit d4aaf6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vm/js/Compiler.nqp
Expand Up @@ -507,6 +507,10 @@ class QAST::CompilerJS does DWIMYNameMangling does SerializeOnce {
@sig.push($name);
}
}

for $param.list -> $param_setup {
@setup.push(self.as_js($param_setup, :want($T_OBJ)));
}
}

if $slurpy {
Expand Down

0 comments on commit d4aaf6b

Please sign in to comment.