Files
kotlin-fork/idea/testData/quickfix/autoImports/falsePostfixOperator.before.Main.kt
T
Valentin Kipyatkov 7625672914 Better test data
2016-09-23 10:07:15 +03:00

15 lines
351 B
Kotlin
Vendored

// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
// ACTION: Create extension function 'H?.inc'
// ACTION: Create member function 'H.inc'
// 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>++
}