Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created August 4, 2012 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnthn/3259432 to your computer and use it in GitHub Desktop.
Save jnthn/3259432 to your computer and use it in GitHub Desktop.
diff --git a/src/Perl6/Optimizer.pm b/src/Perl6/Optimizer.pm
index abcff71..7961ab1 100644
--- a/src/Perl6/Optimizer.pm
+++ b/src/Perl6/Optimizer.pm
@@ -503,6 +503,7 @@ class Perl6::Optimizer {
if $call.named -> $name {
$inlined.named($name);
}
+ $inlined.node($call.node);
$inlined
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment