ConvertToForEachFunctionCallIntention preserves comments outside of body too

This commit is contained in:
Valentin Kipyatkov
2015-05-26 00:09:32 +03:00
parent 8b44c93667
commit 5d0b42ee71
4 changed files with 18 additions and 3 deletions
@@ -0,0 +1,3 @@
fun foo() {
<caret>for (x /* current */ in 1..10/* from 1 to 10 */) { }
}