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 fa4d932 commit 2b663deCopy full SHA for 2b663de
graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/builtins/SetPrototypeBuiltins.java
@@ -770,7 +770,7 @@ protected static int doSet(JSSetObject thisObj) {
770
}
771
772
@SuppressWarnings("unused")
773
- @Specialization(guards = {"!isJSMap(thisObj)"})
+ @Specialization(guards = {"!isJSSet(thisObj)"})
774
protected static int notSet(@SuppressWarnings("unused") Object thisObj) {
775
throw Errors.createTypeErrorSetExpected();
776
0 commit comments