Files
kotlin-fork/compiler/testData/diagnostics/tests/OverrideFunctionWithParamDefaultValue.kt
T

13 lines
184 B
Kotlin
Vendored

// FIR_IDENTICAL
abstract class B() {
abstract fun foo2(arg: Int = 239) : Int
}
class C() : B() {
override fun foo2(arg: Int) : Int = arg
}
fun invokeIt() {
C().foo2()
}