"Convert put to assignment": Fix false positive inside elvis expression

So #KT-22072 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-07-05 12:58:57 +03:00
committed by Mikhail Glukhikh
parent 1b1e503716
commit 1ac6f18a47
5 changed files with 44 additions and 0 deletions
@@ -0,0 +1,6 @@
// PROBLEM: none
// WITH_RUNTIME
fun test(i: Int?, m: MutableMap<String, Int>) {
m.<caret>put("", 1) ?: i
}