[FIR] Implement REIFIED_TYPE_FORBIDDEN_SUBSTITUTION
This commit is contained in:
committed by
teamcityserver
parent
bade6cb611
commit
173813f7cf
+2
-2
@@ -11,5 +11,5 @@ fun test1() {
|
||||
val f2: Foo<in Nothing> = foo1 { it checkType { _<Nothing>() } }
|
||||
|
||||
val f3: Foo<out Int> = foo2 { it checkType { _<Int>() } }
|
||||
val f4: Foo<in Nothing> = foo2 { it checkType { _<Nothing>() } }
|
||||
}
|
||||
val f4: Foo<in Nothing> = <!REIFIED_TYPE_FORBIDDEN_SUBSTITUTION!>foo2<!> { it checkType { _<Nothing>() } }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user