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

Unified Diff: pkg/analyzer/lib/src/summary/resynthesize.dart

Issue 1559963002: Use List<String> for combinators in summaries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 12 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
Index: pkg/analyzer/lib/src/summary/resynthesize.dart
diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart
index 7adfa645baf7617601a27a864ad4b522532681c6..403467974caebe4cf0fe6c873fd2abb2c18a3f23 100644
--- a/pkg/analyzer/lib/src/summary/resynthesize.dart
+++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
@@ -349,13 +349,11 @@ class _LibraryResynthesizer {
if (serializedCombinator.shows.isNotEmpty) {
ShowElementCombinatorImpl combinator = new ShowElementCombinatorImpl();
combinator.shownNames = serializedCombinator.shows
- .map((UnlinkedCombinatorName n) => n.name)
.toList();
scheglov 2016/01/04 17:21:50 AFAIK it is List already.
Paul Berry 2016/01/04 18:07:51 Right, it is. But I want to make a copy of the li
return combinator;
} else {
HideElementCombinatorImpl combinator = new HideElementCombinatorImpl();
combinator.hiddenNames = serializedCombinator.hides
- .map((UnlinkedCombinatorName n) => n.name)
.toList();
return combinator;
}
« no previous file with comments | « pkg/analyzer/lib/src/summary/public_namespace_computer.dart ('k') | pkg/analyzer/lib/src/summary/summarize_elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698