KT-1572 Frontend doesn't mark all vars included in closure as refs.

This commit is contained in:
Svetlana Isakova
2012-03-14 15:07:23 +04:00
parent af9f00c177
commit 9dc9e9984b
8 changed files with 37 additions and 15 deletions
@@ -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
}
}