b6870b4bba
It renames method parameter to match the name from the overriden method.
12 lines
228 B
Kotlin
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
|
|
}
|
|
}
|