JVM IR: load fields for JvmField properties from dependencies

This is needed to properly lower JvmField property calls to field
accesses.
This commit is contained in:
Alexander Udalov
2019-11-18 16:33:11 +01:00
parent 608449f41d
commit a485a5ffd6
8 changed files with 14 additions and 9 deletions
@@ -1,5 +1,4 @@
// TARGET_BACKEND: JVM
// IGNORE_BACKEND_MULTI_MODULE: JVM_IR
// WITH_RUNTIME
// FILE: 1.kt
@@ -17,4 +16,4 @@ import test.*
fun box(): String {
return test(Foo("OK")::a)
}
}
@@ -1,5 +1,4 @@
// TARGET_BACKEND: JVM
// IGNORE_BACKEND_MULTI_MODULE: JVM_IR
// WITH_RUNTIME
// FILE: 1.kt
@@ -17,4 +16,4 @@ import test.*
fun box(): String {
return test(Foo::a)
}
}