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 {
28462846 else tree1
28472847 }
28482848
2849- /** Annotation ::= `@' SimpleType {ParArgumentExprs}
2849+ /** Annotation ::= `@' SimpleType1 {ParArgumentExprs}
28502850 */
28512851 def annot (): Tree =
28522852 adjustStart(accept(AT )) {
2853- ensureApplied(parArgumentExprss(wrapNew(simpleType ())))
2853+ ensureApplied(parArgumentExprss(wrapNew(simpleType1 ())))
28542854 }
28552855
28562856 def annotations (skipNewLines : Boolean = false ): List [Tree ] = {
Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ LocalModifier ::= ‘abstract’
341341AccessModifier ::= (‘private’ | ‘protected’) [AccessQualifier]
342342AccessQualifier ::= ‘[’ id ‘]’
343343
344- Annotation ::= ‘@’ SimpleType {ParArgumentExprs} Apply(tpe, args)
344+ Annotation ::= ‘@’ SimpleType1 {ParArgumentExprs} Apply(tpe, args)
345345
346346Import ::= ‘import’ ImportExpr {‘,’ ImportExpr}
347347ImportExpr ::= SimpleRef {‘.’ id} ‘.’ ImportSpec Import(expr, sels)
You can’t perform that action at this time.
0 commit comments