Fix warning and and test fail

This commit is contained in:
Nikolay Krasko
2015-01-09 19:28:05 +03:00
parent 4bde4a2be4
commit 6215b3962c
@@ -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<caret>++