KT-1572 Frontend doesn't mark all vars included in closure as refs.
This commit is contained in:
@@ -328,7 +328,7 @@ fun func() {
|
||||
val <!UNUSED_VARIABLE!>a<!> = object {
|
||||
val x = b
|
||||
{
|
||||
<!VAL_REASSIGNMENT!>b<!> = 4
|
||||
<!VAL_REASSIGNMENT!>b<!> = <!UNUSED_VALUE!>4<!>
|
||||
<!UNRESOLVED_REFERENCE!>$b<!> = 3
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user