aea5e3ffbc
Instead, determine whether the return type of a call is Nothing, by looking at the type of the call expression.
12 lines
173 B
Kotlin
Vendored
12 lines
173 B
Kotlin
Vendored
open class A<T> {
|
|
open fun f(args : Array<T>) {}
|
|
}
|
|
|
|
class B(): A<String>() {
|
|
override fun f(args : Array<String>) {}
|
|
}
|
|
|
|
fun box(): String {
|
|
B()
|
|
return "OK"
|
|
} |