From a70487b055c13f507bff42e0bc22d13659082d0d Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Fri, 25 Nov 2011 17:35:41 +0400 Subject: [PATCH] fix UnusedVariables.jet test (unintentional variable redeclaration) --- .../testData/checkerWithErrorTypes/quick/UnusedVariables.jet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/testData/checkerWithErrorTypes/quick/UnusedVariables.jet b/compiler/testData/checkerWithErrorTypes/quick/UnusedVariables.jet index c52c8e8e61d..63fbca9007e 100644 --- a/compiler/testData/checkerWithErrorTypes/quick/UnusedVariables.jet +++ b/compiler/testData/checkerWithErrorTypes/quick/UnusedVariables.jet @@ -50,7 +50,7 @@ class MyTest() { i = 456; } - fun testWhile(a : Any?, b : Any?) { + fun testWhile() { var a : Any? = true var b : Any? = 34 while (a is Any) { @@ -139,4 +139,4 @@ fun testBackingFieldsNotMarked() { } } -fun doSmth(i : Int) {} \ No newline at end of file +fun doSmth(i : Int) {}