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

Unified Diff: pkg/compiler/lib/src/elements/names.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/elements/modelx.dart ('k') | pkg/compiler/lib/src/elements/operators.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/elements/names.dart
diff --git a/pkg/compiler/lib/src/elements/names.dart b/pkg/compiler/lib/src/elements/names.dart
index 88e25229d47afbfeee254ab427e65ed71803b29e..cd95ae13ca39f4fc69a8f7404691382df2f56d19 100644
--- a/pkg/compiler/lib/src/elements/names.dart
+++ b/pkg/compiler/lib/src/elements/names.dart
@@ -2,7 +2,10 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-part of elements;
+library dart2js.elements.names;
+
+import 'package:front_end/src/fasta/scanner/characters.dart' show $_;
+import 'entities.dart' show LibraryEntity;
/// A [Name] represents the abstraction of a Dart identifier which takes privacy
/// and setter into account.
@@ -98,7 +101,7 @@ class PrivateName extends PublicName {
return isSetter ? this : new PrivateName(text, library, isSetter: true);
}
- bool isAccessibleFrom(LibraryElement element) => library == element;
+ bool isAccessibleFrom(LibraryEntity element) => library == element;
bool get isPrivate => true;
« no previous file with comments | « pkg/compiler/lib/src/elements/modelx.dart ('k') | pkg/compiler/lib/src/elements/operators.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698