JVM IR: Avoid direct lambda invokes in inline tests
This commit is contained in:
committed by
Alexander Udalov
parent
f0760e0550
commit
2acfb3a41f
Vendored
+2
-2
@@ -9,7 +9,7 @@ class A {
|
||||
f()
|
||||
s
|
||||
v = "OK"
|
||||
} ()
|
||||
}.let { it() }
|
||||
}
|
||||
|
||||
inline fun g2(crossinline f: () -> Unit) {
|
||||
@@ -19,7 +19,7 @@ class A {
|
||||
s
|
||||
v = "OK"
|
||||
}
|
||||
}.run ()
|
||||
}.run()
|
||||
}
|
||||
|
||||
inline fun use() {
|
||||
|
||||
Reference in New Issue
Block a user