*[java]* Java 8 parsing problem with annotations for wildcards #414
This commit is contained in:
@ -1593,9 +1593,7 @@ void TypeArguments():
|
||||
void TypeArgument():
|
||||
{}
|
||||
{
|
||||
(Annotation() {checkForBadTypeAnnotations();})* ReferenceType()
|
||||
|
|
||||
"?" [ WildcardBounds() ]
|
||||
(Annotation() {checkForBadTypeAnnotations();})* (ReferenceType() | "?" [ WildcardBounds() ])
|
||||
}
|
||||
|
||||
void WildcardBounds():
|
||||
|
@ -165,6 +165,10 @@ public class ParserCornerCases18 {
|
||||
}
|
||||
}
|
||||
|
||||
public List<@AnnotatedUsage ?> testWildCardWithAnnotation() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Explicit receiver Parameters
|
||||
* see: http://blog.joda.org/2015/12/explicit-receiver-parameters.html
|
||||
|
Reference in New Issue
Block a user