[FIR] Support of REDECLARATION for local val/var, ^KT-54405 Fixed

This commit is contained in:
Ivan Kochurkin
2022-12-01 15:08:34 +01:00
committed by Space Team
parent 879deb90fc
commit e49bb1fe37
30 changed files with 201 additions and 85 deletions
@@ -19,7 +19,7 @@ fun test_2(cond: Boolean?) {
false -> 2
}
val x = when (cond) {
val y = when (cond) {
true -> 1
false -> 2
null -> 3