Skip to content

Commit

Permalink
Fix @*ARGS accidentally not being passed to compile-and-run code
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed May 31, 2011
1 parent 49b11af commit b23212e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NieczaBackendDotnet.pm6
Expand Up @@ -31,7 +31,7 @@ method accept($unitname, $ast is rw, :$main, :$run, :$evalmode) {
my $nam = NAMOutput.run($ast);
$ast.clear_optrees;
$ast = Any;
downcall(($evalmode ?? "evalnam" !! "runnam"), $.obj_dir, $nam);
downcall(($evalmode ?? "evalnam" !! "runnam"), $.obj_dir, $nam, @$.run_args);
return;
}
self.save_unit($unitname, $ast);
Expand Down

0 comments on commit b23212e

Please sign in to comment.