FIR DFA: make continue jump to condition entry, not loop entry

It's also not a backwards jump in do-while, unless it's in the loop's
condition, which is a stupid "feature" IMO. As you can probably tell
from the comments added in this commit.
This commit is contained in:
pyos
2022-11-14 15:27:08 +01:00
committed by teamcity
parent 7e407585fc
commit f9745bd3f1
9 changed files with 26 additions and 42 deletions
@@ -70,7 +70,7 @@ fun case_6(x: Any?) {
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Any? & kotlin.Any")!>x<!>.equals(10)
} while (false)
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Any? & kotlin.Any")!>x<!>
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Any?")!>x<!>
}
// TESTCASE NUMBER: 7