[java-highlighting] IDEA-246748 Remove support of C-style array declaration in record components

Actually suggest a fix if somebody uses it

GitOrigin-RevId: 57ee72ebdc99ebe506a88696bf37f9319cdbcc33
This commit is contained in:
Tagir Valeev
2020-09-21 09:44:54 +00:00
committed by intellij-monorepo-bot
parent ea09257801
commit a0f0dabaa4
15 changed files with 176 additions and 53 deletions
@@ -0,0 +1,2 @@
// "Replace with Java-style array declaration" "true"
record X (int[][] a){}
@@ -0,0 +1,2 @@
// "Replace with Java-style array declaration" "true"
record X (int[][][] a){}
@@ -0,0 +1,2 @@
// "Replace with Java-style array declaration" "true"
record X (int[] a){}
@@ -0,0 +1,2 @@
// "Replace with Java-style array declaration" "true"
record X (int a[<caret>][]){}
@@ -0,0 +1,2 @@
// "Replace with Java-style array declaration" "true"
record X (int[] a[<caret>][]){}
@@ -0,0 +1,2 @@
// "Replace with Java-style array declaration" "true"
record X (int a[<caret>]){}