17 lines
373 B
Kotlin
Vendored
17 lines
373 B
Kotlin
Vendored
// "Import" "false"
|
|
// ACTION: Create extension function 'inc'
|
|
// ACTION: Create member function 'inc'
|
|
// ACTION: Create local variable '++'
|
|
// ACTION: Create parameter '++'
|
|
// ACTION: Replace overloaded operator with function call
|
|
// ERROR: Unresolved reference: ++
|
|
|
|
package h
|
|
|
|
interface H
|
|
|
|
@suppress("UNUSED_CHANGED_VALUE")
|
|
fun f(h: H?) {
|
|
var h1 = h
|
|
h1<caret>++
|
|
} |