8c95884ad2
Extract single point of entry for all change signature refactorings and fixes (remove parameter, add parameter) Change signature now affects overriding functions as well Ask the user whether he wants to refactor base function(s) or the selected one if appropiate Fix a problem with descriptorToDeclaration in JetChangeSignatureHandler Rename: JetFunctionPlatformDescriptor -> JetMethodDescriptor
15 lines
113 B
Kotlin
15 lines
113 B
Kotlin
trait A {
|
|
fun f() {}
|
|
}
|
|
|
|
trait B {
|
|
fun f() {}
|
|
}
|
|
|
|
trait C : A, B {
|
|
|
|
}
|
|
|
|
fun usage(c: C) {
|
|
c.<caret>f()
|
|
} |