Support lateinit local vars in JVM BE
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
fun runNoInline(f: () -> Unit) = f()
|
||||
|
||||
fun box(): String {
|
||||
lateinit var ok: String
|
||||
runNoInline {
|
||||
ok = "OK"
|
||||
}
|
||||
return ok
|
||||
}
|
||||
Reference in New Issue
Block a user