Files
kotlin-fork/idea/testData/quickfix/override/beforeParameterNameChangedRenamePossible.kt
T
Wojciech Lopata b6870b4bba QuickFix for PARAMETER_NAME_CHANGED_ON_OVERRIDE.
It renames method parameter to match the name from the overriden method.
2013-02-05 21:44:00 +04:00

12 lines
228 B
Kotlin

// "Rename parameter to match overridden method" "true"
abstract class A {
abstract fun foo(arg : Int) : Int;
}
class B : A() {
override fun foo(var agr<caret> : Int) : Int {
agr += 5
return agr
}
}