7 lines
132 B
Kotlin
Vendored
7 lines
132 B
Kotlin
Vendored
fun foo() {
|
|
arrayListOf(1, 2).count()<caret>
|
|
}
|
|
|
|
fun <T> List<T>.count(): Int = size
|
|
|
|
// EXISTS: arrayListOf(vararg Int), count() |