Skip to content

Commit

Permalink
Patterns parsing: eliminate an unnecessary TODO.
Browse files Browse the repository at this point in the history
The grammar was updated in
dart-lang/language@f06d416
so that it now matches the implementation.

Bug: #50035
Change-Id: I2aa7d395360c96e39b77336c46f415f1b2280439
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/292801
Reviewed-by: Konstantin Shcheglov <[email protected]>
Commit-Queue: Paul Berry <[email protected]>
  • Loading branch information
stereotype441 authored and Commit Queue committed Apr 3, 2023
1 parent 8d16c1d commit f537137
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/_fe_analyzer_shared/lib/src/parser/parser_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9799,9 +9799,6 @@ class Parser {
next = token.next!;
if (next.isIdentifier) {
secondIdentifier = token = next;
// TODO(paulberry): grammar specifies
// `typeIdentifier | qualifiedName`, but that permits `a.b.c`,
// which doesn't make sense.
} else {
secondIdentifier = IdentifierContext.expressionContinuation
.ensureIdentifier(token, this);
Expand Down

0 comments on commit f537137

Please sign in to comment.