Skip to content

Commit f537137

Browse files
stereotype441Commit Queue
authored and
Commit Queue
committed
Patterns parsing: eliminate an unnecessary TODO.
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]>
1 parent 8d16c1d commit f537137

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/_fe_analyzer_shared/lib/src/parser/parser_impl.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9799,9 +9799,6 @@ class Parser {
97999799
next = token.next!;
98009800
if (next.isIdentifier) {
98019801
secondIdentifier = token = next;
9802-
// TODO(paulberry): grammar specifies
9803-
// `typeIdentifier | qualifiedName`, but that permits `a.b.c`,
9804-
// which doesn't make sense.
98059802
} else {
98069803
secondIdentifier = IdentifierContext.expressionContinuation
98079804
.ensureIdentifier(token, this);

0 commit comments

Comments
 (0)