Fixed Convert to foreach intention loosing comments

This commit is contained in:
Valentin Kipyatkov
2015-05-23 15:20:57 +03:00
parent 0f36458d2e
commit 333445d93e
9 changed files with 149 additions and 16 deletions
@@ -0,0 +1,11 @@
fun foo() {
val list = 1..4
<caret>for (x in list) { // start of loop
// comment 1
var v = x + 1
// comment 2
v++
// end of loop
}
}