Skip to content

@jnthn /gist:1863657
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
Something went wrong with that request. Please try again.