57fe01c375
#KT-38416 Fixed
13 lines
233 B
Kotlin
Vendored
13 lines
233 B
Kotlin
Vendored
abstract class A<T> {
|
|
abstract fun test(a: T, b:Boolean = false) : String
|
|
}
|
|
|
|
class B : A<String>() {
|
|
override fun test(a: String, b: Boolean): String {
|
|
return a
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
return B().test("OK")
|
|
} |