| Index: sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart
|
| index af06202c35071606fce8335828ee17863471d572..b9e8ad0b469939907bc6562b94c024f22e05a47b 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart
|
| @@ -48,9 +48,9 @@ class ClassEmitter extends CodeEmitterHelper {
|
| }
|
|
|
| if (classElement == compiler.closureClass) {
|
| - // We add a special getter here to allow for tearing off a closure form
|
| + // We add a special getter here to allow for tearing off a closure from
|
| // itself.
|
| - String name = namer.safeName(Compiler.CALL_OPERATOR_NAME);
|
| + String name = namer.getMappedInstanceName(Compiler.CALL_OPERATOR_NAME);
|
| jsAst.Fun function = js('function() { return this; }');
|
| builder.addProperty(namer.getterNameFromAccessorName(name), function);
|
| }
|
|
|