mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
testdata for IDEA-24479
This commit is contained in:
+15
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user