Files
kotlin-fork/compiler/testData/diagnostics/tests/inference/genericAssignmentOperator.fir.kt
T

9 lines
138 B
Kotlin
Vendored

class R<T>
fun <T> f(): R<T> = R<T>()
operator fun Int.plusAssign(y: R<Int>) {}
fun box() {
<!INAPPLICABLE_CANDIDATE!>1 += f()<!>
}