Fix tests not to duplicate array constructor definitions as they are available now in builtins.
This commit is contained in:
@@ -10,7 +10,3 @@ enum class MyEnum { A }
|
||||
<!TYPE_CANT_BE_USED_FOR_CONST_VAL!>const<!> val enumConst: MyEnum = MyEnum.A
|
||||
<!TYPE_CANT_BE_USED_FOR_CONST_VAL!>const<!> val arrayConst: Array<String> = arrayOf("1")
|
||||
<!TYPE_CANT_BE_USED_FOR_CONST_VAL!>const<!> val intArrayConst: IntArray = intArrayOf()
|
||||
|
||||
// ------------------------------------------------
|
||||
fun <T> arrayOf(vararg x: T): Array<T> = null!!
|
||||
fun intArrayOf(): IntArray = null!!
|
||||
@@ -7,8 +7,6 @@ public const val intArrayConst: kotlin.IntArray
|
||||
public const val intConst: kotlin.Int = 1
|
||||
public const val longConst: kotlin.Long = 1.toLong()
|
||||
public const val stringConst: kotlin.String = "empty"
|
||||
public fun </*0*/ T> arrayOf(/*0*/ vararg x: T /*kotlin.Array<out T>*/): kotlin.Array<T>
|
||||
public fun intArrayOf(): kotlin.IntArray
|
||||
|
||||
public final enum class MyEnum : kotlin.Enum<MyEnum> {
|
||||
enum entry A
|
||||
|
||||
Reference in New Issue
Block a user