IterateExpressionIntention uses collection expression for name suggestions too

This commit is contained in:
Valentin Kipyatkov
2015-06-26 19:40:33 +03:00
parent 024834737d
commit e00294d17b
6 changed files with 36 additions and 6 deletions
@@ -0,0 +1,3 @@
fun foo(names: List<String>) {
names<caret>
}
@@ -0,0 +1,5 @@
fun foo(names: List<String>) {
for (name in names) {
<caret>
}
}