tests changed:

added check for unused/uninitialized variables inside local and anonymous functions
This commit is contained in:
Svetlana Isakova
2012-05-25 21:18:55 +04:00
parent edb529f68f
commit b6b1ce52e1
8 changed files with 25 additions and 25 deletions
@@ -101,7 +101,7 @@ fun t5() {
for (i in 0..2) {
<!VAL_REASSIGNMENT!>i<!> += 1
fun t5() {
<!VAL_REASSIGNMENT!>i<!> += 3
i += 3
}
}
}
@@ -297,8 +297,8 @@ class TestObjectExpression() {
<!VAL_REASSIGNMENT!>a<!> = 231
}
fun inner2() {
<!VAL_REASSIGNMENT!>y<!> = 101
<!VAL_REASSIGNMENT!>a<!> = 231
y = 101
a = 231
}
}
}