Created
February 19, 2012 12:43
-
-
Save jnthn/1863657 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 fd4b9cd..b460a75 100644 | |
--- a/src/Perl6/Actions.pm | |
+++ b/src/Perl6/Actions.pm | |
@@ -1158,9 +1158,9 @@ class Perl6::Actions is HLL::Actions { | |
# Expect variable to have been declared somewhere. | |
# Locate descriptor and thus type. | |
+ $past.scope('lexical_6model'); | |
try { | |
my $type := $*W.find_lexical_container_type($past.name); | |
- $past.scope('lexical_6model'); | |
$past.type($type); | |
$past := box_native_if_needed($past, $type); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment