Skip to content

Commit 2c24c82

Browse files
committed
Merge branch 'set_subclass' of https://github.com/zolstein/graalpython into topic/GR-20728
2 parents 2df2f11 + d0b0c1e commit 2c24c82

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/set

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/set/SetNodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ PSet setString(VirtualFrame frame, LazyPythonClass cls, String arg,
9393
@SuppressWarnings("unused")
9494
PSet set(LazyPythonClass cls, PNone none,
9595
@Shared("factory") @Cached PythonObjectFactory factory) {
96-
return factory.createSet();
96+
return factory.createSet(cls);
9797
}
9898

9999
@Specialization(guards = "!isNoValue(iterable)")

0 commit comments

Comments
 (0)