From 5e3d51bbec0e11a1281a6672056921637e68ff0c Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Fri, 27 Mar 2020 20:28:40 +0000 Subject: [PATCH] Fix some quotes in Parser's simpleExpr --- compiler/src/dotty/tools/dotc/parsing/Parsers.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ‘}’