Preserve comments in "Remove variable" quick fix #KT-23753 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-04-14 12:29:51 +03:00
committed by Mikhail Glukhikh
parent 61edfaced5
commit 633679ac16
4 changed files with 22 additions and 3 deletions
@@ -0,0 +1,6 @@
// "Remove variable 'a'" "true"
var cnt = 5
fun getCnt() = cnt++
fun f() {
var <caret>a = getCnt() // comment
}