mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
IDEA-96404 java type inference does not work in for-each template
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
public abstract class Zzza {
|
||||
|
||||
void foo(Object o) {
|
||||
if (o instanceof String) {
|
||||
for (java.lang.Object : o.substr<caret>) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user