ade2307345
^KT-50861 Fixed
14 lines
242 B
Kotlin
Vendored
14 lines
242 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
class C
|
|
|
|
operator fun C.plus(a: Any): C = this
|
|
operator fun C.plusAssign(a: Any) {}
|
|
|
|
fun test() {
|
|
val c = C()
|
|
c += ""
|
|
var c1 = C()
|
|
c1 <!ASSIGN_OPERATOR_AMBIGUITY!>+=<!> ""
|
|
} |