| commit | 95cbc6a49724f9aaac6ba72fc69a14e9f9f53d70 | [log] [tgz] |
|---|---|---|
| author | Paul Berry <paulberry@google.com> | Wed Aug 14 20:11:59 2024 +0000 |
| committer | Commit Queue <dart-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 14 20:11:59 2024 +0000 |
| tree | 6fbac43ed8f999a410a347281bec3aab7727f47f | |
| parent | 2c77c6749d0e74fd1467b069cf64cc36bb78b125 [diff] |
Remove unnecessary break from analyzer I'm currently working on a fix for https://github.com/dart-lang/linter/issues/5061 (unnecessary_breaks fails to report an unnecessary break inside a default clause). To avoid a trybot failure once the lint is fixed, we need to fix all instances of unnecessary breaks that the fixed lint would catch. Bug: https://github.com/dart-lang/linter/issues/5061 Change-Id: Ied3d5f5f548972fd03cb7b6330fe3491459ab658 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/380620 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
diff --git a/pkg/analyzer/tool/summary/generate.dart b/pkg/analyzer/tool/summary/generate.dart index c87d272..24daaa2 100644 --- a/pkg/analyzer/tool/summary/generate.dart +++ b/pkg/analyzer/tool/summary/generate.dart
@@ -899,7 +899,6 @@ typeStr = 'string'; default: typeStr = type.typeName; - break; } if (type.isList) { // FlatBuffers don't natively support a packed list of booleans, so we