User: llamalad7 Date: 20 Feb 25 19:17 Revision: 41ff225d860e449e598a0a1d5e1e69ac66ded8f2 Summary: Fix: Return `Object` as supertype of any array type. (#2442) TeamCity URL: https://ci.mcdev.io/viewModification.html?tab=vcsModificationFiles&modId=9839&personal=false Index: src/main/kotlin/platform/mixin/util/AsmDfaUtil.kt =================================================================== --- src/main/kotlin/platform/mixin/util/AsmDfaUtil.kt (revision ac9583bd59a710b9ad34637e12fcbec49bf6c537) +++ src/main/kotlin/platform/mixin/util/AsmDfaUtil.kt (revision 41ff225d860e449e598a0a1d5e1e69ac66ded8f2) @@ -146,6 +146,9 @@ if (type == currentClass) { return currentSuperClass } + if (type.sort == Type.ARRAY) { + return Type.getType(Any::class.java) + } val elementFactory = JavaPsiFacade.getElementFactory(project) val psiType = type.toPsiType(elementFactory) as? PsiClassType ?: return null val clazz = psiType.resolve() ?: return null