mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
15 lines
380 B
Plaintext
Vendored
15 lines
380 B
Plaintext
Vendored
import java.util.ArrayList
|
|
|
|
// "Create extension function 'Any.set'" "true"
|
|
// WITH_RUNTIME
|
|
|
|
class Foo<T> {
|
|
fun <T> x (y: Any, w: java.util.ArrayList<T>) {
|
|
y["", w] = w
|
|
}
|
|
}
|
|
|
|
private operator fun <T> Any.set(s: String, w: ArrayList<T>, value: ArrayList<T>) {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|