[JS IR] Generate context dependent names for anonymous objects and classes.
This commit is contained in:
committed by
Space
parent
b1643075f2
commit
a34c97ebd5
@@ -0,0 +1,8 @@
|
||||
fun foo(a: () -> Unit) = a()
|
||||
|
||||
// CHECK_CALLED_IN_SCOPE: scope=box function=box$lambda
|
||||
fun box(): String {
|
||||
var result = "FAILURE"
|
||||
foo { result = "OK" }
|
||||
return result
|
||||
}
|
||||
Reference in New Issue
Block a user