Introduce inspection "replace map.put with assignment" #KT-21502 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
ab28bdf32f
commit
8c305a137f
@@ -0,0 +1,6 @@
|
||||
// PROBLEM: none
|
||||
// WITH_RUNTIME
|
||||
|
||||
val map = mutableMapOf(42 to "foo")
|
||||
|
||||
fun foo() = map.put<caret>(60, "bar")
|
||||
Reference in New Issue
Block a user