Index: pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
index b6b04b8c54f5aa9c62ac20129e7d03d3de4b246d..c5723ae8d5095b323a8a2dc194add7026d88e52e 100644 |
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
@@ -49,7 +49,7 @@ class ClassEmitter extends CodeEmitterHelper { |
// We add a special getter here to allow for tearing off a closure from |
// itself. |
jsAst.Fun function = js('function() { return this; }'); |
- jsAst.Name name = namer.getterForMember(Selector.CALL_NAME); |
+ jsAst.Name name = namer.getterForMember(Names.call); |
builder.addProperty(name, function); |
} |