Fix tests not to duplicate array constructor definitions as they are available now in builtins.

This commit is contained in:
Ilya Gorbunov
2015-12-11 18:18:23 +03:00
parent f509937037
commit 4dde59368c
22 changed files with 31 additions and 67 deletions
@@ -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>>>() }