Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix thinko in lexicalref late-bound comp.
  • Loading branch information
jnthn committed Feb 28, 2015
1 parent 7008cc2 commit 9b7f462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/jvm/QAST/Compiler.nqp
Expand Up @@ -4395,7 +4395,7 @@ class QAST::CompilerJAST {
}
my $char := typechar($type);
my $name_sval := QAST::SVal.new( :value($name) );
return QAST::Op.new( :op("getlexref_$char"), $name_sval );
return self.as_jast(QAST::Op.new( :op("getlexref_$char"), $name_sval ));
}

# If it's a ref and we want a ref, just look it up as an object
Expand Down

0 comments on commit 9b7f462

Please sign in to comment.