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

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

Issue 2632643002: Remove LibraryEntity.libraryName (Closed)
Patch Set: Replace libraryOrScriptName with name Created 3 years, 10 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/compiler/lib/src/elements/elements.dart
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart
index 15c8cfddef4552207653385f53a157c0149bbad2..50f7bc3a98994ab55902c55603be292bd3947f12 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -1079,12 +1079,11 @@ abstract class LibraryElement extends Element
String get libraryName;
/// Returns the library name (as defined by the library tag) or for script
Siggi Cherem (dart-lang) 2017/02/07 23:31:53 nit: script => scripts?
Johnni Winther 2017/02/08 10:27:10 Done.
- /// (which have no library tag) the script file name. The latter case is used
- /// to provide a 'library name' for scripts to use for instance in dartdoc.
+ /// (which have no library tag) the script file name.
///
/// Note: the returned filename is still escaped ("a%20b.dart" instead of
/// "a b.dart").
- String get libraryOrScriptName;
+ String get name;
}
/// The implicit scope defined by a import declaration with a prefix clause.

Powered by Google App Engine
This is Rietveld 408576698