Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a thinko.
  • Loading branch information
jnthn committed May 17, 2013
1 parent 1baee5d commit 9756183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/jvm/QAST/Compiler.nqp
Expand Up @@ -3717,7 +3717,7 @@ class QAST::CompilerJAST {
$type := rttype_from_typeobj($node.returns);
my $char := $type == $RT_OBJ ?? '' !! '_' ~ typechar($type);
my $name_sval := QAST::SVal.new( :value($name) );
return self.as_jast($*BINDVAL
return self.as_jast_clear_bindval($*BINDVAL
?? QAST::Op.new( :op("bindlex$char"), $name_sval, $*BINDVAL )
!! QAST::Op.new( :op("getlex$char"), $name_sval ));
}
Expand Down

0 comments on commit 9756183

Please sign in to comment.