| Index: lib/compiler/implementation/dart_backend/backend.dart
|
| diff --git a/lib/compiler/implementation/dart_backend/backend.dart b/lib/compiler/implementation/dart_backend/backend.dart
|
| index ac03dfe86c7658f555d6a303d7397fb7859583d2..104eeadd45428a21205a19a25dee0634637ac5cb 100644
|
| --- a/lib/compiler/implementation/dart_backend/backend.dart
|
| +++ b/lib/compiler/implementation/dart_backend/backend.dart
|
| @@ -70,7 +70,15 @@ class DartBackend extends Backend {
|
| !isDartCoreLib(compiler, element.getLibrary());
|
|
|
| try {
|
| - Emitter emitter = new Emitter(compiler);
|
| + PlaceholderCollector collector = new PlaceholderCollector(compiler);
|
| + resolvedElements.forEach((element, treeElements) {
|
| + if (!shouldOutput(element)) return;
|
| + collector.collect(element, treeElements);
|
| + });
|
| +
|
| + ConflictingRenamer renamer =
|
| + new ConflictingRenamer(compiler, collector.placeholders);
|
| + Emitter emitter = new Emitter(compiler, renamer);
|
| resolvedElements.forEach((element, treeElements) {
|
| if (!shouldOutput(element)) return;
|
| if (element.isMember()) {
|
|
|