We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44dfead commit fbc2ad2Copy full SHA for fbc2ad2
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/PClosureRootNode.java
@@ -71,7 +71,7 @@ protected void addClosureCellsToLocals(Frame frame) {
71
if (singleContextAssumption.isValid() && closure == null) {
72
CompilerDirectives.transferToInterpreterAndInvalidate();
73
closure = frameClosure;
74
- } else if ((!singleContextAssumption.isValid() && closure != null && closure != NO_CLOSURE) || closure != frameClosure) {
+ } else if (closure != NO_CLOSURE && ((!singleContextAssumption.isValid() && closure != null) || closure != frameClosure)) {
75
76
closure = NO_CLOSURE;
77
}
0 commit comments