Skip to content

Commit 81417ee

Browse files
committed
Fix: prefer to use lambda argument
1 parent 393a790 commit 81417ee

File tree

1 file changed

+2
-2
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/compiler/bytecode_dsl

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/compiler/bytecode_dsl/RootNodeCompiler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,11 +1243,11 @@ public BytecodeDSLCompilerResult visit(ExprTy.GeneratorExp node) {
12431243
emitYield((statementCompiler_) -> {
12441244
boolean isAsync = node.generators[node.generators.length - 1].isAsync;
12451245
if (isAsync) {
1246-
statementCompiler.b.beginAsyncGenWrap();
1246+
statementCompiler_.b.beginAsyncGenWrap();
12471247
}
12481248
node.element.accept(statementCompiler_);
12491249
if (isAsync) {
1250-
statementCompiler.b.endAsyncGenWrap();
1250+
statementCompiler_.b.endAsyncGenWrap();
12511251
}
12521252
}, statementCompiler);
12531253
});

0 commit comments

Comments
 (0)