Files
kotlin-fork/analysis/analysis-api/testData/referenceResolve/PlusAssignByHand.kt
T
2022-03-22 13:14:54 +00:00

14 lines
245 B
Kotlin
Vendored

// UNRESOLVED_REFERENCE
package test
interface Foo
interface WithOperator {
operator fun plus(f: Foo): WithOperator
}
fun test(withOperator: WithOperator, foo: Foo) {
var variable = withOperator
variable <caret>= variable + foo
}