Fix tests not to duplicate array constructor definitions as they are available now in builtins.
This commit is contained in:
-3
@@ -1,8 +1,5 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
fun <T> arrayOf(vararg t : T) : Array<T> = t as Array<T>
|
||||
|
||||
fun test() {
|
||||
val array = arrayOf(arrayOf(1))
|
||||
array checkType { _<Array<Array<Int>>>() }
|
||||
|
||||
Reference in New Issue
Block a user