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 10e2792184fc4a1c7e1e8f76a3dbb6415b4c1303..b6b04b8c54f5aa9c62ac20129e7d03d3de4b246d 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 |
@@ -422,8 +422,10 @@ class ClassEmitter extends CodeEmitterHelper { |
ClassBuilder builder, |
{bool isGetter}) { |
Selector selector = isGetter |
- ? new Selector.getter(member.name, member.library) |
- : new Selector.setter(member.name, member.library); |
+ ? new Selector.getter( |
+ new Name(member.name, member.library)) |
+ : new Selector.setter( |
+ new Name(member.name, member.library, isSetter: true)); |
String reflectionName = emitter.getReflectionName(selector, name); |
if (reflectionName != null) { |
var reflectable = |