IR KT-47840 fix-point solution for closure conversion
This commit is contained in:
committed by
teamcityserver
parent
e9f2d574d5
commit
34f5b85ae5
@@ -0,0 +1,16 @@
|
||||
fun box(): String {
|
||||
var t = ""
|
||||
fun foo(x: String) {
|
||||
fun bar() {
|
||||
fun a() {
|
||||
foo("")
|
||||
bar()
|
||||
}
|
||||
t = x
|
||||
}
|
||||
|
||||
bar()
|
||||
}
|
||||
foo("OK")
|
||||
return t
|
||||
}
|
||||
Reference in New Issue
Block a user