[FIR] Relax incompatibleEnumComparisonWithTypeParameters
This commit is contained in:
committed by
Space Team
parent
ae521524d6
commit
3058f2eaff
+1
-1
@@ -100,7 +100,7 @@ fun incompatibleIdentityRegardlessNullabilityWithValueClassesSmartCast(c: Any?,
|
||||
enum class F
|
||||
|
||||
fun <T: E, K: F> incompatibleEnumComparisonWithTypeParameters(e: T, f: K) {
|
||||
<!INCOMPATIBLE_ENUM_COMPARISON_ERROR!>e == f<!>
|
||||
<!INCOMPATIBLE_ENUM_COMPARISON!>e == f<!>
|
||||
}
|
||||
|
||||
interface A
|
||||
|
||||
Reference in New Issue
Block a user