JVM IR: do not optimize properties with -Xno-optimized-callable-references
#KT-50019 Fixed
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// WITH_STDLIB
|
||||
// NO_OPTIMIZED_CALLABLE_REFERENCES
|
||||
|
||||
class A {
|
||||
val x = "OK"
|
||||
val y by ::x
|
||||
}
|
||||
|
||||
fun box(): String = A().y
|
||||
Reference in New Issue
Block a user