Add "Change type to mutable collection" quick fix for NO_SET_METHOD

#KT-29193 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-02-06 19:07:05 +09:00
committed by Mikhail Glukhikh
parent 52c2547d95
commit 4113d06767
14 changed files with 221 additions and 35 deletions
@@ -0,0 +1,8 @@
// "Change type to MutableSet" "false"
// DISABLE-ERRORS
// ACTION: Replace overloaded operator with function call
// WITH_RUNTIME
fun main() {
val set = setOf(1, 2, 3)
set[1]<caret> = 10
}