OverrideFunctionWithParamDefaultValue test in JetDiagnosticsTest
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
abstract class B() {
|
||||||
|
abstract fun foo2(arg: Int = 239) : Int
|
||||||
|
}
|
||||||
|
|
||||||
|
class C() : B() {
|
||||||
|
override fun foo2(arg: Int) : Int = arg
|
||||||
|
}
|
||||||
|
|
||||||
|
fun invokeIt() {
|
||||||
|
C().foo2()
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user