Index: pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart b/pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart |
index 07398b3ce9fe3e6301aee539403885532dc15c50..ed3183346c8639be95a6c701460fa8886abc1610 100644 |
--- a/pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart |
+++ b/pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart |
@@ -243,8 +243,7 @@ class ParameterStubGenerator { |
// Start with the callSelectors since they imply the generation of the |
// non-call version. |
for (Selector selector in callSelectors.keys) { |
- Selector renamedSelector = new Selector( |
- SelectorKind.CALL, |
+ Selector renamedSelector = new Selector.call( |
member.memberName, |
selector.callStructure); |
renamedCallSelectors.add(renamedSelector); |