Files
kotlin-fork/idea/testData/refactoring/changeSignature/NoDefaultValuesInOverridesBefore.kt
T
2015-05-13 16:13:13 +02:00

18 lines
344 B
Kotlin
Vendored

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