Files
kotlin-fork/idea/testData/quickfix/autoImports/plusOperator.before.Main.kt
T
2014-03-02 19:55:26 +04:00

10 lines
335 B
Kotlin

// "Import" "true"
// ERROR: <html>Unresolved reference. <br/> None of the following candidates is applicable because of receiver type mismatch: <ul><li><b>public</b> <b>fun</b> kotlin.String?.plus(other: kotlin.Any?): kotlin.String <i>defined in</i> kotlin</li></ul></html>
package h
trait H
fun f(h: H?) {
h <caret>+ "other"
}