| Index: lib/compiler/implementation/dart_backend/renamer.dart
|
| diff --git a/lib/compiler/implementation/dart_backend/renamer.dart b/lib/compiler/implementation/dart_backend/renamer.dart
|
| index b1f931552e372e55e069b99c7b4e36de4a4678a6..b00517bc75164b126c3079d7bcb8de476623ea60 100644
|
| --- a/lib/compiler/implementation/dart_backend/renamer.dart
|
| +++ b/lib/compiler/implementation/dart_backend/renamer.dart
|
| @@ -14,6 +14,9 @@ void renamePlaceholders(
|
| final Map<LibraryElement, Map<String, String>> renamed
|
| = new Map<LibraryElement, Map<String, String>>();
|
| final Set<String> usedTopLevelIdentifiers = new Set<String>();
|
| + // TODO(antonm): we should also populate this set with top-level
|
| + // names from core library.
|
| + usedTopLevelIdentifiers.add('main'); // Never rename anything to 'main'.
|
|
|
| Generator topLevelGenerator =
|
| true ? conservativeGenerator : new MinifyingGenerator('ABCD').generate;
|
|
|