[kotlin] Adapt the Kotlin code plugin after 'KaType' unsealing

GitOrigin-RevId: 55678a9e611d5fadee00fe418ec0c3767bc8f6e2
This commit is contained in:
Yan Zhulanow
2024-07-02 17:20:43 +09:00
committed by intellij-monorepo-bot
parent 11ffd87739
commit 48201dfbc3

View File

@@ -60,4 +60,5 @@ private fun KaType.containsErrorType(): Boolean = when (this) {
is KaFlexibleType -> lowerBound.containsErrorType() || upperBound.containsErrorType()
is KaIntersectionType -> conjuncts.any { it.containsErrorType() }
is KaTypeParameterType, is KaCapturedType, is KaDynamicType -> false
else -> false
}