| 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 f7cb0e879449d01973978083f2f6a5a420ae2724..0ac9d3e8dc79923a24428aa8ee1f9ca4046d999a 100644
|
| --- a/lib/compiler/implementation/dart_backend/backend.dart
|
| +++ b/lib/compiler/implementation/dart_backend/backend.dart
|
| @@ -310,6 +310,10 @@ class DartBackend extends Backend {
|
| addClass(classElement);
|
| };
|
|
|
| + compiler.resolverWorld.instantiatedClasses.forEach(
|
| + (ClassElement classElement) {
|
| + if (shouldOutput(classElement)) addClass(classElement);
|
| + });
|
| resolvedElements.forEach((element, treeElements) {
|
| if (!shouldOutput(element)) return;
|
|
|
| @@ -481,6 +485,14 @@ class EmitterUnparser extends Unparser {
|
| if (node.receiver != null && renames[node.receiver] == '') return;
|
| super.unparseSendReceiver(node, spacesNeeded: spacesNeeded);
|
| }
|
| +
|
| + unparseFunctionName(Node name) {
|
| + if (name != null && renames.containsKey(name)) {
|
| + sb.add(renames[name]);
|
| + } else {
|
| + super.unparseFunctionName(name);
|
| + }
|
| + }
|
| }
|
|
|
|
|
|
|