mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
28 lines
393 B
Kotlin
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 |