mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 08:31:38 +00:00
10 lines
129 B
Kotlin
10 lines
129 B
Kotlin
// "Create function 'set'" "true"
|
|
class A {
|
|
fun get(s: String): Int = 1
|
|
}
|
|
|
|
fun foo() {
|
|
var a = A()
|
|
a<caret>["1"]++
|
|
}
|