Files
kotlin-fork/idea/testData/refactoring/changeSignature/NoDefaultValuesInOverridesAfter.kt
T
2020-01-17 21:02:54 +07:00

24 lines
373 B
Kotlin
Vendored

interface T {
fun foo(
a: Int = 1,
b: String = "2"
)
}
open class A: T {
override fun foo(
a: Int,
b: String
) {
throw UnsupportedOperationException()
}
}
class B: A() {
override fun foo(
a: Int,
b: String
) {
throw UnsupportedOperationException()
}
}