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
-3
View File
@@ -1,6 +1,3 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
public inline fun <reified T> Array(n: Int, block: (Int) -> T): Array<T> = null!!
//KT-1703 Reference to label is unresolved
fun test() {
-1
View File
@@ -1,6 +1,5 @@
package
public inline fun </*0*/ reified T> Array(/*0*/ n: kotlin.Int, /*1*/ block: (kotlin.Int) -> T): kotlin.Array<T>
public fun test(): kotlin.Unit
public fun use(/*0*/ a: kotlin.Any?): kotlin.Any?
public fun </*0*/ T> kotlin.Array<out T>.forEach(/*0*/ operation: (T) -> kotlin.Unit): kotlin.Unit