12 lines
210 B
Plaintext
Vendored
12 lines
210 B
Plaintext
Vendored
// FIX: Replace 'set' call with indexing operator
|
|
|
|
class C {
|
|
operator fun set(s: String, p: Int, value: Int): Boolean = true
|
|
}
|
|
|
|
class D(val c: C) {
|
|
fun foo() {
|
|
this.c<caret>["x", 2] = 1
|
|
}
|
|
}
|