Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceContains/super.kt
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

12 lines
201 B
Kotlin
Vendored

// IS_APPLICABLE: false
open class Base {
open fun contains(s: String) = true
}
class C : Base() {
override fun contains(s: String): Boolean {
return super.<caret>contains(s)
}
}