[FIR] Simplify substitution for unsafe-variant type parameter types
#KT-41792 Fixed
This commit is contained in:
+1
-1
@@ -6,6 +6,6 @@ internal fun Any.matchesRendering(other: Any): Boolean {
|
||||
return when {
|
||||
this::class != other::class -> false
|
||||
this !is UpdatableRendering<*> -> true
|
||||
else -> this.<!INAPPLICABLE_CANDIDATE!>canUpdateFrom<!>(other as UpdatableRendering<*>)
|
||||
else -> this.canUpdateFrom(other as UpdatableRendering<*>)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user