testdata for IDEA-24479

This commit is contained in:
Anna Kozlova
2014-05-13 18:34:56 +04:00
parent 4b6debd182
commit 2386bed21f
2 changed files with 16 additions and 0 deletions
@@ -0,0 +1,15 @@
class SomeUtil {
public static <T> Iterable<T> iterable(final Iterable<T> enumeration) {
return null;
}
void a(ServletRequest request){
for (String param : SomeUtil.<String>iterable<error descr="'iterable(java.lang.Iterable<java.lang.String>)' in 'SomeUtil' cannot be applied to '(java.lang.Iterable<java.lang.Object>)'">(request.getParameterNames())</error>) {}
}
private class ServletRequest {
public Iterable<Object> getParameterNames() {
return null;
}
}
}