Skip to content

Commit c67f93a

Browse files
committed
locals alwaysNeedsCallerFrame = true
1 parent eb7e97b commit c67f93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/BuiltinFunctions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1910,7 +1910,7 @@ public static GlobalsNode create() {
19101910
}
19111911
}
19121912

1913-
@Builtin(name = "locals", minNumOfPositionalArgs = 0, needsFrame = true)
1913+
@Builtin(name = "locals", minNumOfPositionalArgs = 0, needsFrame = true, alwaysNeedsCallerFrame = true)
19141914
@GenerateNodeFactory
19151915
abstract static class LocalsNode extends PythonBuiltinNode {
19161916

0 commit comments

Comments
 (0)