Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[dotnet] Fix a $*BIND_CONTEXT leakage that could cause an...entertain…
…ing...constants table to be built.
  • Loading branch information
jnthn committed Oct 20, 2010
1 parent 606ccdc commit 9dcc5ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dotnet/compiler/PAST2DNSTCompiler.pm
Expand Up @@ -811,6 +811,7 @@ our multi sub dnst_for(PAST::Var $var) {

# Binding, if needed.
if $*BIND_CONTEXT {
my $*BIND_CONTEXT := 0;
$lookup := dnst_for(PAST::Op.new(
:pasttype('callmethod'), :name('bind_key'),
$lookup,
Expand Down

0 comments on commit 9dcc5ed

Please sign in to comment.