Revert "Replace with ordinary assignment: do not suggest when operator is augmented assignment operator function"

This reverts commit 73e319ca
This commit is contained in:
Yan Zhulanow
2020-10-24 00:21:03 +09:00
parent 7fccd0153b
commit 383190f25e
9 changed files with 7 additions and 65 deletions
@@ -1,6 +1,7 @@
// "Change 'list' to val" "false"
// ACTION: Replace overloaded operator with function call
// ACTION: Replace with 'plusAssign()' call
// ACTION: Replace with ordinary assignment
// ERROR: Assignment operators ambiguity: <br>public operator fun <T> Collection<Int>.plus(element: Int): List<Int> defined in kotlin.collections<br>public inline operator fun <T> MutableCollection<in Int>.plusAssign(element: Int): Unit defined in kotlin.collections
// WITH_RUNTIME