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

Unified Diff: pkg/compiler/lib/src/use_unused_api.dart

Issue 2860753005: Make elements/names.dart its own library (Closed)
Patch Set: Created 3 years, 7 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/compiler/lib/src/universe/selector.dart ('k') | tests/compiler/dart2js/gvn_dynamic_field_get_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/use_unused_api.dart
diff --git a/pkg/compiler/lib/src/use_unused_api.dart b/pkg/compiler/lib/src/use_unused_api.dart
index 4ddaf5b99f238643542acd44f842577be9b713aa..439a67196c1c914a1666432549c59e70aa8d2f07 100644
--- a/pkg/compiler/lib/src/use_unused_api.dart
+++ b/pkg/compiler/lib/src/use_unused_api.dart
@@ -22,6 +22,7 @@ import 'deferred_load.dart' as deferred_load;
import 'diagnostics/source_span.dart' as diagnostics;
import 'elements/elements.dart' as elements;
import 'elements/modelx.dart' as modelx;
+import 'elements/names.dart' as names;
import 'elements/operators.dart' as operators;
import 'elements/visitor.dart' as elements_visitor;
import 'filenames.dart' as filenames;
@@ -47,7 +48,7 @@ class ElementVisitor extends elements_visitor.BaseElementVisitor {
void main(List<String> arguments) {
useApi(null);
dart2js.main(arguments);
- elements.Name.isPublicName(null);
+ names.Name.isPublicName(null);
useConstant();
useNode(null);
useUtil(null);
@@ -257,7 +258,7 @@ usedByTests() {
useElements(
[elements.ClassElement e,
- elements.Name n,
+ names.Name n,
modelx.FieldElementX f,
PartialClassElement pce,
PartialFunctionElement pfe,
« no previous file with comments | « pkg/compiler/lib/src/universe/selector.dart ('k') | tests/compiler/dart2js/gvn_dynamic_field_get_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698