inline: insert cast in foreach stmts when var/initializer was casted with explicit cast conversion (IDEA-73501)

This commit is contained in:
anna
2012-11-05 15:24:38 +01:00
parent 3786644b52
commit 53df678ed7
6 changed files with 58 additions and 0 deletions
@@ -0,0 +1,13 @@
import java.util.*;
class X {
List getChildren() {
return null;
}
void iterate() {
List<X> xs = getChildren();
foo(x<caret>s);
}
void foo(List<X> l){}
}