Created
October 23, 2011 18:35
-
-
Save jnthn/1307684 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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