[FIR] Implement BREAK_OR_CONTINUE_JUMPS_ACROSS_FUNCTION_BOUNDARY
This commit is contained in:
committed by
teamcityserver
parent
cbdd0f579a
commit
2333b1bcf6
-17
@@ -1,17 +0,0 @@
|
||||
fun call(f: () -> Unit) = f()
|
||||
|
||||
fun f1() {
|
||||
outer@ while (true) {
|
||||
call {
|
||||
break@outer
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun f2() {
|
||||
do {
|
||||
fun inner() {
|
||||
continue
|
||||
}
|
||||
} while (true)
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
fun call(f: () -> Unit) = f()
|
||||
|
||||
fun f1() {
|
||||
|
||||
Reference in New Issue
Block a user