c34b417d0c
#KT-34744
18 lines
337 B
Kotlin
Vendored
18 lines
337 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()
|
|
}
|
|
} |