Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(843)

Unified Diff: pkg/analyzer/test/src/summary/resynthesize_common.dart

Issue 2972103002: Remove ExecutableElement.labels altogether. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/declaration_resolver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/summary/resynthesize_common.dart
diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart
index f3b679413ef11a4296aaa2f4a9ce5de636f20e33..f895e76462b96442cfa23981370d770e4d0b23db 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
@@ -888,15 +888,6 @@ abstract class AbstractResynthesizeTest extends AbstractSingleUnitTest {
'$desc local function ${oFunctions[i].name}');
}
}
- if (original is! Member) {
- List<LabelElement> rLabels = resynthesized.labels;
- List<LabelElement> oLabels = original.labels;
- expect(rLabels, hasLength(oLabels.length));
- for (int i = 0; i < oLabels.length; i++) {
- compareLabelElements(
- rLabels[i], oLabels[i], '$desc label ${oLabels[i].name}');
- }
- }
}
void compareMetadata(List<ElementAnnotation> resynthesized,
« no previous file with comments | « pkg/analyzer/lib/src/generated/declaration_resolver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698