Skip to content

Commit a78a484

Browse files
committed
fix NPE
1 parent b4eadf3 commit a78a484

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/objects/set/FrozenSetBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Object doGeneric(Object self, Object other) {
9696
@Builtin(name = __LE__, fixedNumOfArguments = 2)
9797
@GenerateNodeFactory
9898
abstract static class LeNode extends PythonBinaryBuiltinNode {
99-
@Child private HashingStorageNodes.ContainsKeyNode containsKeyNode;
99+
@Child private HashingStorageNodes.ContainsKeyNode containsKeyNode = HashingStorageNodes.ContainsKeyNode.create();
100100

101101
@Specialization
102102
Object run(PBaseSet self, PBaseSet other) {

0 commit comments

Comments
 (0)