[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
@@ -35,8 +35,8 @@ fun test3() {
fun test4() {
try {}
catch (e: Exception) {
val a = 42
val a = "foo"
val <!REDECLARATION!>a<!> = 42
val <!REDECLARATION!>a<!> = "foo"
}
}