test case for

public void createNonNullArray() {
		return new MetaColumn @NonNull [value];
	}
This commit is contained in:
snap252
2017-05-30 14:13:38 +02:00
parent b5474cdcf8
commit 7997297e0b
2 changed files with 5 additions and 1 deletions

View File

@ -1921,7 +1921,7 @@ void AllocationExpression():
(LOOKAHEAD(2) (LOOKAHEAD(2)
PrimitiveType() ArrayDimsAndInits() PrimitiveType() ArrayDimsAndInits()
| |
ClassOrInterfaceType() [ TypeArguments() ] ClassOrInterfaceType() ((Annotation() {checkForBadTypeAnnotations();})*) [ TypeArguments() ]
( (
ArrayDimsAndInits() ArrayDimsAndInits()
| |

View File

@ -181,6 +181,10 @@ public class ParserCornerCases18 {
return null; return null;
} }
public void createNonNullArray() {
return new MetaColumn @NonNull [value];
}
/** /**
* Explicit receiver Parameters * Explicit receiver Parameters