Files
kotlin/compiler/testData/diagnostics/tests/OverrideFunctionWithParamDefaultValue.kt
Andrey Breslav 3d8d92c7d3 JetDiagnosticsTest migrated to TestGenerator
- test data files renamed from *.jet to *.kt
2012-07-10 14:48:11 +04:00

12 lines
167 B
Kotlin
Vendored

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