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

Unified Diff: pkg/analyzer/lib/src/summary/public_namespace_computer.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/public_namespace_computer.dart
diff --git a/pkg/analyzer/lib/src/summary/public_namespace_computer.dart b/pkg/analyzer/lib/src/summary/public_namespace_computer.dart
index a8b2e78efab38afaa28e8abfad47c3a80e3c920a..bd9e3a27f00eaacf84100e69e523952cd92dc3a3 100644
--- a/pkg/analyzer/lib/src/summary/public_namespace_computer.dart
+++ b/pkg/analyzer/lib/src/summary/public_namespace_computer.dart
@@ -25,12 +25,8 @@ class _CombinatorEncoder extends SimpleAstVisitor<UnlinkedCombinatorBuilder> {
_CombinatorEncoder(this.ctx);
- List<UnlinkedCombinatorNameBuilder> encodeNames(
- NodeList<SimpleIdentifier> names) =>
- names
- .map((SimpleIdentifier id) =>
- encodeUnlinkedCombinatorName(ctx, name: id.name))
- .toList();
+ List<String> encodeNames(NodeList<SimpleIdentifier> names) =>
+ names.map((SimpleIdentifier id) => id.name).toList();
@override
UnlinkedCombinatorBuilder visitHideCombinator(HideCombinator node) {

Powered by Google App Engine
This is Rietveld 408576698