b6870b4bba
It renames method parameter to match the name from the overriden method.
12 lines
220 B
Kotlin
12 lines
220 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 arg: Int) : Int {
|
|
arg += 5
|
|
return arg
|
|
}
|
|
}
|