mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 17:07:05 +07:00
retrieve expected type by containing array creation expression (IDEA-132794)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
class Test {
|
||||
public <T> T f() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Object foo() {
|
||||
return true ? new String[]{f()} : new String[][]{f()};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user