e869568196
Use existing FunctionCodegen.generateBridgeIfNeeded() on property getters & setters #KT-2920 Fixed
13 lines
171 B
Kotlin
13 lines
171 B
Kotlin
open class A<T>(val t: T) {
|
|
open val foo: T = t
|
|
}
|
|
|
|
open class B : A<String>("Fail")
|
|
|
|
class Z : B() {
|
|
override val foo = "OK"
|
|
}
|
|
|
|
|
|
fun box() = (Z() : A<String>).foo
|