Files
kotlin-fork/idea/testData/refactoring/changeSignature/NoDefaultValuesInOverridesBefore.kt
T
2014-11-26 13:07:28 +03:00

18 lines
340 B
Kotlin

trait 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()
}
}