[FIR] Add separate local scope for init blocks

This commit is contained in:
Dmitriy Novozhilov
2020-03-03 16:26:32 +03:00
parent 50742a4686
commit 8023d04c61
4 changed files with 6 additions and 5 deletions
@@ -57,8 +57,8 @@ class Test5 {
init {
val x: String
<!UNRESOLVED_REFERENCE!>x<!> = ""
z = <!UNRESOLVED_REFERENCE!>x<!>
x = ""
z = x
}
constructor(y: Int) {