Community
Participate
Working Groups
test case : public class A { Class[][] cls; } When the visitor visit ArrayType, it first visit 'Class[][]', which the position is fine, but then it visit 'Class[]' which the getStartPosition() return -1 and getLength() return 0.
Reproduced. I am working on it.
Fixed and released in HEAD. Regression tests added.
Verified.