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 b92c34b commit 79135bfCopy full SHA for 79135bf
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