stream migration: reject collection conversion if qualifier depends on loop parameter (IDEA-135104)

This commit is contained in:
Anna Kozlova
2015-01-13 20:55:48 +01:00
parent 1449e7a15a
commit ffbe05e14d
2 changed files with 18 additions and 3 deletions
@@ -0,0 +1,10 @@
// "Replace with collect" "false"
import java.util.List;
class A {
void foo(List<List<String>> list) {
for(List<String> l: li<caret>st) {
l.add("");
}
}
}