Files
Anna Kozlova 6796e2b1e5 [kotlin] change signature from usage
KTIJ-27376

GitOrigin-RevId: a8982144c280f55027b278cb9db2da6350406a00
2023-10-26 13:19:05 +00:00

28 lines
393 B
Kotlin

// "Add parameter to function 'f'" "true"
interface O {
fun f(a: Int)
}
interface OO : O {
override fun f(a: Int) {
}
}
interface OOO : OO {
override fun f(a: Int) {}
}
fun usage(o: O) {
o.f(1)
}
fun usage(o: OO) {
o.f(13, <caret>12)
}
fun usage(o: OOO) {
o.f(3)
}
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix
// IGNORE_K2