5f64d6ec76
#KT-42656 Fixed
20 lines
263 B
Kotlin
Vendored
20 lines
263 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
|
|
// FILE: J.java
|
|
|
|
public class J {
|
|
public String result = null;
|
|
}
|
|
|
|
// FILE: K.kt
|
|
|
|
class K : J()
|
|
|
|
fun box(): String {
|
|
val k = K()
|
|
val p = K::result
|
|
if (p.get(k) != null) return "Fail"
|
|
p.set(k, "OK")
|
|
return p.get(k)
|
|
}
|