| commit | cba19c0de09f5dd30517f77939ea8ba6b7c2ef54 | [log] [tgz] |
|---|---|---|
| author | Paul Berry <paulberry@google.com> | Thu Sep 29 12:24:47 2022 +0000 |
| committer | Commit Queue <dart-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 29 12:24:47 2022 +0000 |
| tree | 7e508c92464de55b238e8a54d712048444821cd6 | |
| parent | 3cfca8e38cc00c13f50ef3f2c455c757928be5f1 [diff] |
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: https://github.com/dart-lang/sdk/issues/50035 Change-Id: Ia4034d66c3cc354e2ea6f2e1485380bccf7333dd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/261700 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
diff --git a/pkg/_fe_analyzer_shared/lib/src/parser/parser_impl.dart b/pkg/_fe_analyzer_shared/lib/src/parser/parser_impl.dart index 98b7595..9d11e11 100644 --- a/pkg/_fe_analyzer_shared/lib/src/parser/parser_impl.dart +++ b/pkg/_fe_analyzer_shared/lib/src/parser/parser_impl.dart
@@ -6348,8 +6348,6 @@ /// This method parses the portion of a set or map literal that starts with /// the left curly brace when there are no leading type arguments. - /// - /// [forPattern] indicates whether an expression or pattern should be parsed. Token parseLiteralSetOrMapSuffix(Token token, Token? constKeyword) { Token leftBrace = token = token.next!; assert(optional('{', leftBrace));