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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart

Issue 11967010: Internal libraries supported. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 7 years, 11 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: sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart
index 9b149198a49065eea1c528f1c562c6dd890814f5..4b9f3e07c5b4c59d5c55d77c591e4df2952713c6 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart
@@ -143,7 +143,7 @@ void renamePlaceholders(
if (identical(element.getLibrary(), compiler.coreLibrary)) {
return originalName;
}
- if (library.isPlatformLibrary) {
+ if (library.isPlatformLibrary && !library.isInternalLibrary) {
assert(element.isTopLevel());
final prefix =
imports.putIfAbsent(library, () => generateUniqueName('p'));

Powered by Google App Engine
This is Rietveld 408576698