Support interpretation of toArray for collections
This commit is contained in:
committed by
TeamCityServer
parent
b10fdb919f
commit
78475a5d9c
@@ -24,6 +24,7 @@ fun test(list: MyArrayList<Int>): String {
|
||||
|
||||
val otherList = arrayListOf(4, 5, 6)
|
||||
list.addAll(otherList)
|
||||
list.addAll(emptyList<Int>())
|
||||
return "Counter " + list.addCounter + "; size " + list.size
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user