Files
kotlin-fork/idea/testData/quickfix/autoImports/unaryPlusOperator.before.Main.kt
T
2021-05-12 16:28:30 +00:00

15 lines
350 B
Kotlin
Vendored

// "Import" "true"
// ERROR: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: <br>public operator fun A.unaryPlus(): Int defined in h in file unaryPlusOperator.before.Main.kt
package h
interface H
fun f(h: H?) {
<caret>+h
}
class A()
operator fun A.unaryPlus(): Int = 3
/* IGNORE_FIR */