Files
kotlin-fork/compiler/testData/codegen/box/bridges/overrideAbstractProperty.kt
T
Steven Schäfer aea5e3ffbc JVM IR: Remove type substitutions from ExpressionCodegen
Instead, determine whether the return type of a call is Nothing, by
looking at the type of the call expression.
2020-01-22 15:51:11 +01:00

11 lines
216 B
Kotlin
Vendored

public abstract class AbstractClass<T> {
public abstract val some: T
}
public class Class: AbstractClass<String>() {
public override val some: String
get() = "OK"
}
fun box(): String = Class().some