[FIR] Relax incompatibleEnumAndUnrelatedInterfaceThroughTypeParameter
This commit is contained in:
committed by
Space Team
parent
3058f2eaff
commit
c6bec2fa75
+1
-1
@@ -107,6 +107,6 @@ interface A
|
||||
enum class G : B
|
||||
|
||||
fun <I : A> incompatibleEnumAndUnrelatedInterfaceThroughTypeParameter(x: G?, i: I?) {
|
||||
<!INCOMPATIBLE_ENUM_COMPARISON_ERROR!>x == i<!>
|
||||
<!INCOMPATIBLE_ENUM_COMPARISON!>x == i<!>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user