10 lines
152 B
Kotlin
Vendored
10 lines
152 B
Kotlin
Vendored
// FIX: Replace 'set' call with indexing operator
|
|
|
|
class C {
|
|
operator fun set(s: String, value: Int) {}
|
|
}
|
|
|
|
fun foo() {
|
|
C().<caret>set("x", 1)
|
|
}
|