Skip to content

Commit ad7da2f

Browse files
Merge pull request #8625 from dwijnand/fix-some-quotes
Fix some quotes in Parser's simpleExpr
2 parents 64d6536 + 5e3d51b commit ad7da2f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler/src/dotty/tools/dotc/parsing/Parsers.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2160,13 +2160,13 @@ object Parsers {
21602160
* | ‘$’ ‘{’ Block ‘}’
21612161
* | Quoted
21622162
* | quoteId
2163-
* | SimpleExpr1 [`_']
2163+
* | SimpleExpr1 [`_`]
21642164
* SimpleExpr1 ::= literal
21652165
* | xmlLiteral
21662166
* | Path
2167-
* | `(' [ExprsInParens] `)'
2168-
* | SimpleExpr `.' id
2169-
* | SimpleExpr `.' MatchClause
2167+
* | `(` [ExprsInParens] `)`
2168+
* | SimpleExpr `.` id
2169+
* | SimpleExpr `.` MatchClause
21702170
* | SimpleExpr (TypeArgs | NamedTypeArgs)
21712171
* | SimpleExpr1 ArgumentExprs
21722172
* Quoted ::= ‘'’ ‘{’ Block ‘}’

0 commit comments

Comments
 (0)