Files
kotlin-fork/idea/testData/inspectionsLocal/conventionNameCalls/replaceGetOrSet/set.kt.after
T
2017-12-26 18:39:47 +03:00

10 lines
149 B
Plaintext
Vendored

// FIX: Replace 'set' call with indexing operator
class C {
operator fun set(s: String, value: Int) {}
}
fun foo() {
C()<caret>["x"] = 1
}