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
@@ -1,5 +1,5 @@
fun f(): Int {
var i = 17
<!UNUSED_FUNCTION_LITERAL!>{ (): Unit -> var <!NAME_SHADOWING!>i<!> = 18 }<!>
<!UNUSED_FUNCTION_LITERAL!>{ (): Unit -> var <!NAME_SHADOWING, UNUSED_VARIABLE!>i<!> = 18 }<!>
return i
}
}