| Index: lib/compiler/implementation/dart_backend/emitter.dart
|
| diff --git a/lib/compiler/implementation/dart_backend/emitter.dart b/lib/compiler/implementation/dart_backend/emitter.dart
|
| index eecd40e22762fc7ff33af98a95b294870f62fbc7..7cfcad6b9ed357b34426970a4770e7b9b286bdf4 100644
|
| --- a/lib/compiler/implementation/dart_backend/emitter.dart
|
| +++ b/lib/compiler/implementation/dart_backend/emitter.dart
|
| @@ -12,10 +12,8 @@ class Emitter {
|
| final ConflictingRenamer renamer;
|
| final Set<VariableListElement> processedVariableLists;
|
|
|
| - Emitter(Compiler compiler) :
|
| - this.compiler = compiler,
|
| + Emitter(this.compiler, this.renamer) :
|
| sb = new StringBuffer(),
|
| - renamer = new ConflictingRenamer(compiler),
|
| processedVariableLists = new Set<VariableListElement>();
|
|
|
| /**
|
| @@ -35,7 +33,6 @@ class Emitter {
|
| if (classNode.typeParameters !== null) {
|
| sb.add(unparser.unparse(classNode.typeParameters));
|
| }
|
| - renamer.setContext(classElement);
|
| if (classNode.extendsKeyword !== null) {
|
| sb.add(' ');
|
| classNode.extendsKeyword.value.printOn(sb);
|
| @@ -60,7 +57,6 @@ class Emitter {
|
|
|
| void outputElement(Element element) {
|
| Unparser unparser = new Unparser(renamer);
|
| - renamer.setContext(element);
|
| // TODO(smok): Figure out why AbstractFieldElement appears here,
|
| // we have used getters/setters resolved instead of it.
|
| if (element is SynthesizedConstructorElement
|
|
|