b0a6508d4b
For FE 1.0, we just change super qualifier symbol to base class, if it's possible. For FIR, we introduce using of super qualifier symbols for field accesses and repeat FE 1.0 behavior here. #KT-49507 Fixed
14 lines
210 B
Kotlin
Vendored
14 lines
210 B
Kotlin
Vendored
// TARGET_BACKEND: JVM_IR
|
|
// DUMP_IR
|
|
|
|
// FILE: BaseJava.java
|
|
public class BaseJava {
|
|
public String a = "OK";
|
|
}
|
|
|
|
// FILE: Derived.kt
|
|
class Derived : BaseJava() {
|
|
val a = "FAIL"
|
|
}
|
|
|
|
fun box() = Derived().a |