b7e5d9faae
Disable annotation rendering in default type and descriptor renderers. Preserve annotations in Android and Serialization plugins. Update error texts in ide tests. Nullability annotations in Java descriptors are rendered with context-dependent renderer. #KT-20258 Fixed
7 lines
356 B
Kotlin
Vendored
7 lines
356 B
Kotlin
Vendored
// PROBLEM: none
|
|
// ERROR: Assignment operators ambiguity: <br>public operator fun <T> Set<Int>.plus(element: Int): Set<Int> defined in kotlin.collections<br>public inline operator fun <T> MutableCollection<in Int>.plusAssign(element: Int): Unit defined in kotlin.collections
|
|
// WITH_RUNTIME
|
|
fun test() {
|
|
var set = mutableSetOf(1)
|
|
set <caret>+= 2
|
|
} |