mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 21:44:49 +07:00
detect expected type by parent for nested array initializers (IDEA-139280)
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
|
||||
import java.util.function.IntFunction;
|
||||
|
||||
class Test {
|
||||
|
||||
public static void main(String[] args) {
|
||||
Object[][] o = new Object[][] {{
|
||||
(IntFunction<String>) integer -> Integer.toString(integer)
|
||||
}};
|
||||
|
||||
Object[] o1 = new Object[] {
|
||||
(IntFunction<String>) integer -> Integer.toString(integer)
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user