Skip to content

Commit

Permalink
Update syntax comment
Browse files Browse the repository at this point in the history
  • Loading branch information
noti0na1 committed Oct 9, 2024
1 parent cb6605c commit 27929fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/src/dotty/tools/dotc/parsing/Parsers.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1548,7 +1548,8 @@ object Parsers {
case _ => None
}

/** CaptureRef ::= SimpleRef { `.` id } [`*` | `^`]
/** CaptureRef ::= { SimpleRef `.` } SimpleRef [`*`]
* | [ { SimpleRef `.` } SimpleRef `.` ] id `^`
*/
def captureRef(): Tree =
val ref = dotSelectors(simpleRef())
Expand Down

0 comments on commit 27929fe

Please sign in to comment.