Index: pkg/compiler/lib/src/universe/universe.dart |
diff --git a/pkg/compiler/lib/src/universe/universe.dart b/pkg/compiler/lib/src/universe/universe.dart |
index 0574af8abc2b9d3e9c12d2fd8fe517e2934b6cad..c5da864ad0b354b181a6146671a4b001ca840e45 100644 |
--- a/pkg/compiler/lib/src/universe/universe.dart |
+++ b/pkg/compiler/lib/src/universe/universe.dart |
@@ -745,7 +745,7 @@ class Selector { |
new CallStructure(arity, namedArguments)); |
} else { |
return new Selector.call( |
- name, arity, namedArguments); |
+ name, new CallStructure(arity, namedArguments)); |
} |
} else if (element.isSetter) { |
return new Selector.setter(name); |
@@ -789,11 +789,8 @@ class Selector { |
=> new Selector(SelectorKind.INDEX, INDEX_SET_NAME, |
CallStructure.TWO_ARGS); |
- factory Selector.call(Name name, |
- int arity, |
- [List<String> namedArguments]) |
- => new Selector(SelectorKind.CALL, name, |
- new CallStructure(arity, namedArguments)); |
+ factory Selector.call(Name name, CallStructure callStructure) |
+ => new Selector(SelectorKind.CALL, name, callStructure); |
factory Selector.callClosure(int arity, [List<String> namedArguments]) |
=> new Selector(SelectorKind.CALL, CALL_NAME, |