Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceContains/qualifier.kt.after
T
Valentin Kipyatkov 4c88b31878 KT-7525 Don't suggest to replace 'get' call with index operator for static method calls (inspection & intention)
KT-5322 super.get issues a "Replace 'get' call with index operator" inspection

 #KT-7525 Fixed
 #KT-5322 Fixed
2015-05-27 16:15:52 +03:00

10 lines
108 B
Plaintext
Vendored

class C {
companion object {
fun contains(s: String) = true
}
}
fun foo() {
"x" in C
}