IR KT-47840 fix-point solution for closure conversion

This commit is contained in:
Dmitry Petrov
2021-07-22 20:01:32 +03:00
committed by teamcityserver
parent e9f2d574d5
commit 34f5b85ae5
10 changed files with 111 additions and 13 deletions
+16
View File
@@ -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
}