Putting a space between class name and "[]" breaks the array declaration.
package com.sell.controller;
import java.util.*;
public class testbug{
public static void main(String [] args){
String str = "";
String [] arr = str.split("s");
// ^ space
for (int i = 0 ; i < arr.
Description
Putting a space between class name and "[]" breaks the array declaration.
Expected:
I fixed it by replacing
https://github.com/atom/language-java/blob/27fa88a4fc76649fa6dc4ea049708bb10fa0f1e7/grammars/java.cson#L1432
to
(\\s*\\[\\])* # int[][]