Created
August 28, 2014 23:03
-
-
Save donaldh/f5502df973ec2b41a9c2 to your computer and use it in GitHub Desktop.
Inserting this into Actions.nqp stops the serialization of NQPMatch objects. For why?
This file contains 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.nqp b/src/Perl6/Actions.nqp | |
index 29a19ea..c9a1648 100644 | |
--- a/src/Perl6/Actions.nqp | |
+++ b/src/Perl6/Actions.nqp | |
@@ -2818,6 +2818,11 @@ class Perl6::Actions is HLL::Actions does STDActions { | |
$replacement[$i] := node_walker($node[$i]); | |
$i := $i + 2; | |
} | |
+ $i := 1; | |
+ while $i < $n { | |
+ $replacement[$i].name; | |
+ $i := $i + 2; | |
+ } | |
return clear_node($replacement); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment