Revert "Test reification of type parameters into Array(size, init)"
This reverts commit 6daa61ef5f.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
// FILE: 1.kt
|
||||
package test
|
||||
|
||||
inline fun <reified T> f(x : () -> T): Array<T> = Array(1) { x() }
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
import test.*
|
||||
|
||||
fun box(): String = f { "OK" }[0]
|
||||
Reference in New Issue
Block a user