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

Unified Diff: pkg/analyzer/lib/src/dart/resolver/scope.dart

Issue 2556253004: Set empty namespaces for public/exportNamespace of synthetic libraries. (Closed)
Patch Set: Created 4 years 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/dart/resolver/scope.dart
diff --git a/pkg/analyzer/lib/src/dart/resolver/scope.dart b/pkg/analyzer/lib/src/dart/resolver/scope.dart
index 1fc385e678363b91701920a7489b12d30816a4bf..dcbcb04566f253072e2c38b24599d02ba99f8c70 100644
--- a/pkg/analyzer/lib/src/dart/resolver/scope.dart
+++ b/pkg/analyzer/lib/src/dart/resolver/scope.dart
@@ -663,7 +663,7 @@ class Namespace {
* A table mapping names that are defined in this namespace to the element
* representing the thing declared with that name.
*/
- final HashMap<String, Element> _definedNames;
+ final Map<String, Element> _definedNames;
/**
* Initialize a newly created namespace to have the [_definedNames].

Powered by Google App Engine
This is Rietveld 408576698