K2 JVM IR: fix access to Java field shadowed by Kotlin property
#KT-56386 Fixed Co-authored-by: Mikhail Glukhikh <Mikhail.Glukhikh@jetbrains.com>
This commit is contained in:
Vendored
+3
-2
@@ -1,7 +1,6 @@
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_K1: JVM_IR
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// tried to access field B.f from class TestKt
|
||||
// CHECK_BYTECODE_TEXT
|
||||
|
||||
// FILE: A.java
|
||||
|
||||
@@ -24,3 +23,5 @@ public class C extends B {}
|
||||
fun box(): String {
|
||||
return C().f
|
||||
}
|
||||
|
||||
// 1 GETFIELD A.f
|
||||
|
||||
Reference in New Issue
Block a user