Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created October 23, 2011 18:35
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/1307684 to your computer and use it in GitHub Desktop.
Save jnthn/1307684 to your computer and use it in GitHub Desktop.
diff --git a/src/Perl6/Actions.pm b/src/Perl6/Actions.pm
index b6188d5..5c6ffe6 100644
--- a/src/Perl6/Actions.pm
+++ b/src/Perl6/Actions.pm
@@ -2768,6 +2768,9 @@ class Perl6::Actions is HLL::Actions {
:pasttype('callmethod'), :name('FLATTENABLE_HASH'),
$_[0], :flat(1), :named(1)));
}
+ elsif $_<boxable_native> {
+ $past.push($_[2]);
+ }
else {
$past.push($_);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment