JS: fix removal of unused lambdas after inlining
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// CHECK_NOT_CALLED: produceOK except=box
|
||||
|
||||
fun produceOK() = "OK"
|
||||
|
||||
private inline fun <T> block(f: () -> T) = f()
|
||||
|
||||
fun box(): String = block { produceOK() }
|
||||
Reference in New Issue
Block a user