diff --git a/compiler/src/dotty/tools/dotc/parsing/Parsers.scala b/compiler/src/dotty/tools/dotc/parsing/Parsers.scala index cfd182278d12..cacfbc9d0ff9 100644 --- a/compiler/src/dotty/tools/dotc/parsing/Parsers.scala +++ b/compiler/src/dotty/tools/dotc/parsing/Parsers.scala @@ -2160,13 +2160,13 @@ object Parsers { * | ‘$’ ‘{’ Block ‘}’ * | Quoted * | quoteId - * | SimpleExpr1 [`_'] + * | SimpleExpr1 [`_`] * SimpleExpr1 ::= literal * | xmlLiteral * | Path - * | `(' [ExprsInParens] `)' - * | SimpleExpr `.' id - * | SimpleExpr `.' MatchClause + * | `(` [ExprsInParens] `)` + * | SimpleExpr `.` id + * | SimpleExpr `.` MatchClause * | SimpleExpr (TypeArgs | NamedTypeArgs) * | SimpleExpr1 ArgumentExprs * Quoted ::= ‘'’ ‘{’ Block ‘}’