Index: sdk/lib/_internal/compiler/implementation/universe/universe.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/universe/universe.dart b/sdk/lib/_internal/compiler/implementation/universe/universe.dart |
index 3c6be1821de06d88c78225425113df8ba1d590d2..7b5b71fade29ceb0138e6633752e9383181229e9 100644 |
--- a/sdk/lib/_internal/compiler/implementation/universe/universe.dart |
+++ b/sdk/lib/_internal/compiler/implementation/universe/universe.dart |
@@ -217,6 +217,20 @@ class Selector { |
int get positionalArgumentCount => argumentCount - namedArgumentCount; |
DartType get receiverType => null; |
+ int get invocationMirrorKind { |
+ const int METHOD = 0; |
+ const int GETTER = 1; |
+ const int SETTER = 2; |
+ int kind = METHOD; |
+ if (isGetter()) { |
+ kind = GETTER; |
+ } else if (isSetter()) { |
+ kind = SETTER; |
+ } |
+ return kind; |
+ } |
+ |
+ |
bool applies(Element element, Compiler compiler) |
=> appliesUntyped(element, compiler); |