Use nearest Java super qualifier for fields in IR converter
Related to KT-49507
This commit is contained in:
@@ -16,8 +16,18 @@ open class Kotlin2 : Java2() {
|
||||
|
||||
fun test1(j: Kotlin2) = j.f
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// @Kotlin2.class:
|
||||
// 2 GETFIELD Java2.f : I
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// @TestKt.class:
|
||||
// 2 GETFIELD Java2.f : I
|
||||
|
||||
// JVM_TEMPLATES
|
||||
// @Kotlin2.class:
|
||||
// 1 GETFIELD Java2.f : I
|
||||
|
||||
// JVM_TEMPLATES
|
||||
// @TestKt.class:
|
||||
// 1 GETFIELD Java2.f : I
|
||||
Reference in New Issue
Block a user