Fix doIsEquivalentTo for IntMaskSlotTypeNode (#1664)

This fixes an internal optimization; doesn't result in a
language-observable change, so no test case is introduced.
This commit is contained in:
Daniel Chao authored and GitHub committed 2026-06-07 12:51:31 -07:00
1 parent 1cc20b611f
commit b993cc3bb1
1 file changed
+1 -1
@@ -2381,7 +2381,7 @@ public abstract class TypeNode extends PklNode {
@Override
public final boolean doIsEquivalentTo(TypeNode other) {
return other instanceof UIntTypeAliasTypeNode aliasTypeNode && mask == aliasTypeNode.mask;
return other instanceof IntMaskSlotTypeNode typeNode && mask == typeNode.mask;
}
@Override