[FIR] Implement BREAK_OR_CONTINUE_JUMPS_ACROSS_FUNCTION_BOUNDARY

This commit is contained in:
Ivan Kochurkin
2021-07-13 15:26:18 +03:00
committed by teamcityserver
parent cbdd0f579a
commit 2333b1bcf6
19 changed files with 169 additions and 37 deletions
@@ -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,3 +1,4 @@
// FIR_IDENTICAL
fun call(f: () -> Unit) = f()
fun f1() {