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,10 @@
// PROBLEM: none
class A {
fun put(x: Int, y: String) {
}
}
fun foo() {
A().put<caret>(1, "foo")
}