53ff4584d4
#KT-59409 Fixed
15 lines
273 B
Kotlin
Vendored
15 lines
273 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
open class A {
|
|
open fun foo(a : Int) {}
|
|
}
|
|
|
|
class C : A() {
|
|
override fun foo(a : Int = <!DEFAULT_VALUE_NOT_ALLOWED_IN_OVERRIDE!>1<!>) {
|
|
}
|
|
}
|
|
|
|
class D : A() {
|
|
override fun foo(a : Int = <!DEFAULT_VALUE_NOT_ALLOWED_IN_OVERRIDE!>1<!>) {
|
|
}
|
|
}
|