Skip to content

Commit cba19c0

Browse files
stereotype441Commit Queue
authored and
Commit Queue
committed
Remove bogus comment from parseLiteralSetOrMapSuffix
This comment was relevant in a previous revision of the patterns parsing logic and I neglected to revert it. Bug: #50035 Change-Id: Ia4034d66c3cc354e2ea6f2e1485380bccf7333dd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/261700 Reviewed-by: Konstantin Shcheglov <[email protected]> Reviewed-by: Jens Johansen <[email protected]> Commit-Queue: Paul Berry <[email protected]>
1 parent 3cfca8e commit cba19c0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6348,8 +6348,6 @@ class Parser {
63486348

63496349
/// This method parses the portion of a set or map literal that starts with
63506350
/// the left curly brace when there are no leading type arguments.
6351-
///
6352-
/// [forPattern] indicates whether an expression or pattern should be parsed.
63536351
Token parseLiteralSetOrMapSuffix(Token token, Token? constKeyword) {
63546352
Token leftBrace = token = token.next!;
63556353
assert(optional('{', leftBrace));

0 commit comments

Comments
 (0)