FE 1.0: use TYPE_VARIANCE_CONFLICT deprecation factory

This commit is contained in:
Mikhail Glukhikh
2022-03-03 11:44:33 +03:00
committed by Space
parent 7781413a93
commit ebed224f82
31 changed files with 204 additions and 209 deletions
@@ -6,17 +6,17 @@ interface Inv<T>
fun <T> getT(): T = null!!
class Test<in I, out O, P>(
val type1: <!TYPE_VARIANCE_CONFLICT("I; in; out; I")!>I<!>,
val type1: <!TYPE_VARIANCE_CONFLICT_ERROR!>I<!>,
val type2: O,
val type3: P,
val type4: In<I>,
val type5: In<<!TYPE_VARIANCE_CONFLICT("O; out; in; In<O>")!>O<!>>,
val type5: In<<!TYPE_VARIANCE_CONFLICT_ERROR!>O<!>>,
var type6: <!TYPE_VARIANCE_CONFLICT("I; in; invariant; I")!>I<!>,
var type7: <!TYPE_VARIANCE_CONFLICT("O; out; invariant; O")!>O<!>,
var type6: <!TYPE_VARIANCE_CONFLICT_ERROR!>I<!>,
var type7: <!TYPE_VARIANCE_CONFLICT_ERROR!>O<!>,
var type8: P,
var type9: In<<!TYPE_VARIANCE_CONFLICT("I; in; invariant; In<I>")!>I<!>>,
var type0: In<<!TYPE_VARIANCE_CONFLICT("O; out; invariant; In<O>")!>O<!>>,
var type9: In<<!TYPE_VARIANCE_CONFLICT_ERROR!>I<!>>,
var type0: In<<!TYPE_VARIANCE_CONFLICT_ERROR!>O<!>>,
type11: I,
type12: O,