Introduce inspection "replace map.put with assignment" #KT-21502 Fixed

This commit is contained in:
Dereck Bridie
2017-12-04 18:02:45 +03:00
committed by Mikhail Glukhikh
parent ab28bdf32f
commit 8c305a137f
15 changed files with 211 additions and 0 deletions
@@ -0,0 +1,6 @@
// PROBLEM: none
// WITH_RUNTIME
val map = mutableMapOf(42 to "foo")
fun foo() = map.put<caret>(60, "bar")