mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
This quick fix is for the DEFAULT_VALUE_NOT_ALLOWED_IN_OVERRIDE error. ^KTIJ-29521 GitOrigin-RevId: 1516d42144ecc3e3c49f711419b42101655fb67c
10 lines
345 B
Kotlin
10 lines
345 B
Kotlin
// "Remove default parameter value" "true"
|
|
open class A {
|
|
open fun foo(x: Int, y: Int) {}
|
|
}
|
|
|
|
class B : A() {
|
|
override fun foo(x : Int = 1<caret>, y: Int) {}
|
|
}
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveDefaultParameterValueFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveDefaultParameterValueFix |