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
+2 -2
View File
@@ -3,8 +3,8 @@ fun demo() {
val a = ""
val asd = 1
val bar = 5
fun map(f : () -> Any?) : Int = 1
fun buzz(f : () -> Any?) : Int = 1
fun map(<warning>f</warning> : () -> Any?) : Int = 1
fun buzz(<warning>f</warning> : () -> Any?) : Int = 1
val sdf = 1
val foo = 3;
use("$abc")