We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
doIsEquivalentTo
IntMaskSlotTypeNode
1 parent 1cc20b6 commit a95d9fbCopy full SHA for a95d9fb
1 file changed
pkl-core/src/main/java/org/pkl/core/ast/type/TypeNode.java
@@ -2381,7 +2381,7 @@ public final VmTyped getMirror() {
2381
2382
@Override
2383
public final boolean doIsEquivalentTo(TypeNode other) {
2384
- return other instanceof UIntTypeAliasTypeNode aliasTypeNode && mask == aliasTypeNode.mask;
+ return other instanceof IntMaskSlotTypeNode typeNode && mask == typeNode.mask;
2385
}
2386
2387
0 commit comments