-
-
Save mlschroe/9be7df6c549eb2385b7e to your computer and use it in GitHub Desktop.
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.pm b/src/Perl6/Actions.pm | |
index 646413a..f0815e7 100644 | |
--- a/src/Perl6/Actions.pm | |
+++ b/src/Perl6/Actions.pm | |
@@ -3740,6 +3740,7 @@ class Perl6::Actions is HLL::Actions { | |
PAST::Var.new( :scope('lexical_6model'), :name('$!'), :isdecl(1) ), | |
PAST::Var.new( :scope('lexical_6model'), :name('$_') ), | |
), | |
+ PAST::Op.new( :inline(" .const 'Sub' %r =\"" ~ $handler<past_block>.subid() ~ "\"\n capture_lex %r")), | |
PAST::Op.new( :pasttype('call'), | |
$handler, | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment