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

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

Issue 2632643002: Remove LibraryEntity.libraryName (Closed)
Patch Set: Updated cf. comments. 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
« no previous file with comments | « pkg/compiler/lib/src/serialization/modelz.dart ('k') | tests/compiler/dart2js/sourcemaps/diff_view.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/typechecker.dart
diff --git a/pkg/compiler/lib/src/typechecker.dart b/pkg/compiler/lib/src/typechecker.dart
index e7d66cef0e0d71b7a5edee1523b749060058a5af..3507c243dae5ff5e21239fa9c76c2e13a2ee02fa 100644
--- a/pkg/compiler/lib/src/typechecker.dart
+++ b/pkg/compiler/lib/src/typechecker.dart
@@ -716,7 +716,7 @@ class TypeCheckerVisitor extends Visitor<ResolutionDartType> {
Name.isPrivateName(name) &&
element.library != currentLibrary) {
reportTypeWarning(node, MessageKind.PRIVATE_ACCESS,
- {'name': name, 'libraryName': element.library.libraryOrScriptName});
+ {'name': name, 'libraryName': element.library.name});
}
}
@@ -812,7 +812,7 @@ class TypeCheckerVisitor extends Visitor<ResolutionDartType> {
PrivateName privateName = member.name;
LibraryElement library = privateName.library;
reportMessage(node, MessageKind.PRIVATE_ACCESS,
- {'name': name, 'libraryName': library.libraryOrScriptName},
+ {'name': name, 'libraryName': library.name},
isHint: isHint);
foundPrivateMember = true;
}
« no previous file with comments | « pkg/compiler/lib/src/serialization/modelz.dart ('k') | tests/compiler/dart2js/sourcemaps/diff_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698