Index: pkg/compiler/lib/src/js_emitter/class_stub_generator.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/class_stub_generator.dart b/pkg/compiler/lib/src/js_emitter/class_stub_generator.dart |
index 01e745555f47d9618ac835f20cdda4cb918e010b..2a5ded5925d03466bf44f71a49dcd6c5f3adf333 100644 |
--- a/pkg/compiler/lib/src/js_emitter/class_stub_generator.dart |
+++ b/pkg/compiler/lib/src/js_emitter/class_stub_generator.dart |
@@ -62,7 +62,7 @@ class ClassStubGenerator { |
jsAst.Expression receiver = |
js(isInterceptorClass ? receiverArgumentName : 'this'); |
if (member.isGetter) { |
- String getterName = namer.getterName(member); |
+ String getterName = namer.getterForElement(member); |
if (isInterceptedMethod) { |
return js('this.#(#)', [getterName, receiver]); |
} |