mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
lambda: proceed c-like arrays declarations in parameters for lambda with excplicit type declarations (IDEA-152690)
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
interface X {
|
||||
void foo(int[] x);
|
||||
}
|
||||
|
||||
class C {
|
||||
static void main(String[] args){
|
||||
X a = (int x[]) -> { };
|
||||
}
|
||||
}
|
||||
+4
@@ -276,6 +276,10 @@ public class NewLambdaHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testCLikeArrayDeclarationInLambdaWithExplicitTypes() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
private void doTest() {
|
||||
doTest(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user