Fix warning and and test fail
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
// ACTION: Create function 'inc'
|
// ACTION: Create function 'inc'
|
||||||
// ACTION: Create local variable '++'
|
// ACTION: Create local variable '++'
|
||||||
// ACTION: Create parameter '++'
|
// ACTION: Create parameter '++'
|
||||||
// ACTION: Inspection 'UNUSED_CHANGED_VALUE' options
|
|
||||||
// ACTION: Replace overloaded operator with function call
|
// ACTION: Replace overloaded operator with function call
|
||||||
// ERROR: Unresolved reference: ++
|
// ERROR: Unresolved reference: ++
|
||||||
|
|
||||||
@@ -10,7 +9,7 @@ package h
|
|||||||
|
|
||||||
trait H
|
trait H
|
||||||
|
|
||||||
[suppress("UNUSED_VARIABLE")]
|
[suppress("UNUSED_CHANGED_VALUE")]
|
||||||
fun f(h: H?) {
|
fun f(h: H?) {
|
||||||
var h1 = h
|
var h1 = h
|
||||||
h1<caret>++
|
h1<caret>++
|
||||||
|
|||||||
Reference in New Issue
Block a user