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 MutableMap" "true"
// WITH_RUNTIME
fun main() {
val map = foo()
map[2<caret>] = "b"
}
fun foo() = mapOf(1 to "a")