Files
kotlin/compiler/testData/codegen/boxWithJava/properties/substituteJavaSuperField/substituteJavaSuperField.kt
Alexander Udalov 98ce0d529c Fix incorrect 'original' in property accessors
#KT-3930 Fixed
2015-06-17 16:23:56 +03:00

8 lines
134 B
Kotlin
Vendored

class A : Test<String>() {
fun foo(): String? = value
}
fun box(): String {
return if (A().foo() == null) "OK" else "Fail"
}