Add "Change type to mutable collection" quick fix for NO_SET_METHOD
#KT-29193 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
52c2547d95
commit
4113d06767
@@ -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")
|
||||
Reference in New Issue
Block a user