From 6215b3962c5fb30f4238cfab33a1634b48d64e9b Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Fri, 9 Jan 2015 19:28:05 +0300 Subject: [PATCH] Fix warning and and test fail --- .../quickfix/autoImports/falsePostfixOperator.before.Main.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/idea/testData/quickfix/autoImports/falsePostfixOperator.before.Main.kt b/idea/testData/quickfix/autoImports/falsePostfixOperator.before.Main.kt index 3eec51d58e2..0549dfda293 100644 --- a/idea/testData/quickfix/autoImports/falsePostfixOperator.before.Main.kt +++ b/idea/testData/quickfix/autoImports/falsePostfixOperator.before.Main.kt @@ -2,7 +2,6 @@ // ACTION: Create function 'inc' // ACTION: Create local variable '++' // ACTION: Create parameter '++' -// ACTION: Inspection 'UNUSED_CHANGED_VALUE' options // ACTION: Replace overloaded operator with function call // ERROR: Unresolved reference: ++ @@ -10,7 +9,7 @@ package h trait H -[suppress("UNUSED_VARIABLE")] +[suppress("UNUSED_CHANGED_VALUE")] fun f(h: H?) { var h1 = h h1++