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.
2 parents 9262aa4 + 79135bf commit 4025521Copy full SHA for 4025521
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/PNode.java
@@ -93,7 +93,7 @@ final boolean hasScope(@SuppressWarnings("unused") Frame frame) {
93
@ExportMessage
94
final Object getScope(Frame frame, @SuppressWarnings("unused") boolean nodeEnter) throws UnsupportedMessageException {
95
if (hasScope(frame)) {
96
- return PythonScopes.create(this, frame.materialize());
+ return PythonScopes.create(this, frame != null ? frame.materialize() : null);
97
} else {
98
throw UnsupportedMessageException.create();
99
}
0 commit comments