JVM IR: do not optimize properties with -Xno-optimized-callable-references

#KT-50019 Fixed
This commit is contained in:
Alexander Udalov
2021-12-07 00:41:47 +01:00
parent f47a3a3d1c
commit 1471602c9f
9 changed files with 51 additions and 0 deletions
@@ -0,0 +1,9 @@
// WITH_STDLIB
// NO_OPTIMIZED_CALLABLE_REFERENCES
class A {
val x = "OK"
val y by ::x
}
fun box(): String = A().y