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
15 lines
428 B
Plaintext
15 lines
428 B
Plaintext
// "Remove default parameter value" "true"
|
|
// DISABLE-ERRORS
|
|
interface Foo {
|
|
fun test(x: Int, y: Int)
|
|
}
|
|
|
|
expect class Bar : Foo {
|
|
override fun test(x: Int, y: Int)
|
|
}
|
|
|
|
actual class Bar : Foo {
|
|
actual override fun test(x: Int, y: Int) {}
|
|
}
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveDefaultParameterValueFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveDefaultParameterValueFix |