blob: 5b6e6d689a7839c1963383a7fcc3141fabc9f640 [file] [log] [blame]
// "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
import util.unaryPlus
interface H
fun f(h: H?) {
<caret>+h
}
class A()
operator fun A.unaryPlus(): Int = 3