File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/parsing Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2846,11 +2846,11 @@ object Parsers {
2846
2846
else tree1
2847
2847
}
2848
2848
2849
- /** Annotation ::= `@' SimpleType {ParArgumentExprs}
2849
+ /** Annotation ::= `@' SimpleType1 {ParArgumentExprs}
2850
2850
*/
2851
2851
def annot (): Tree =
2852
2852
adjustStart(accept(AT )) {
2853
- ensureApplied(parArgumentExprss(wrapNew(simpleType ())))
2853
+ ensureApplied(parArgumentExprss(wrapNew(simpleType1 ())))
2854
2854
}
2855
2855
2856
2856
def annotations (skipNewLines : Boolean = false ): List [Tree ] = {
Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ LocalModifier ::= ‘abstract’
341
341
AccessModifier ::= (‘private’ | ‘protected’) [AccessQualifier]
342
342
AccessQualifier ::= ‘[’ id ‘]’
343
343
344
- Annotation ::= ‘@’ SimpleType {ParArgumentExprs} Apply(tpe, args)
344
+ Annotation ::= ‘@’ SimpleType1 {ParArgumentExprs} Apply(tpe, args)
345
345
346
346
Import ::= ‘import’ ImportExpr {‘,’ ImportExpr}
347
347
ImportExpr ::= SimpleRef {‘.’ id} ‘.’ ImportSpec Import(expr, sels)
You can’t perform that action at this time.
0 commit comments