mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
10 lines
406 B
Kotlin
10 lines
406 B
Kotlin
// "Replace with safe (?.) call" "false"
|
|
// WITH_STDLIB
|
|
// ACTION: Add non-null asserted (map[3]!!) call
|
|
// ACTION: Replace overloaded operator with function call
|
|
// ACTION: Replace with ordinary assignment
|
|
// ERROR: Operator call corresponds to a dot-qualified call 'map[3].divAssign(5)' which is not allowed on a nullable receiver 'map[3]'.
|
|
fun test(map: MutableMap<Int, Int>) {
|
|
map[3] /=<caret> 5
|
|
}
|