[FIR] Implement REIFIED_TYPE_FORBIDDEN_SUBSTITUTION
This commit is contained in:
committed by
teamcityserver
parent
bade6cb611
commit
173813f7cf
@@ -39,8 +39,8 @@ fun test4(
|
||||
) {}
|
||||
|
||||
fun test5() {
|
||||
arrayOf<Nothing>()
|
||||
Array<Nothing>(10) { throw Exception() }
|
||||
arrayOf<<!REIFIED_TYPE_FORBIDDEN_SUBSTITUTION!>Nothing<!>>()
|
||||
Array<<!REIFIED_TYPE_FORBIDDEN_SUBSTITUTION!>Nothing<!>>(10) { throw Exception() }
|
||||
}
|
||||
|
||||
fun <T> foo(): Array<T> = (object {} as Any) as Array<T>
|
||||
|
||||
Reference in New Issue
Block a user