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..ba6df148908acf51a9284534d3cfadf804891015 100644 |
--- a/sdk/lib/_internal/compiler/implementation/universe/universe.dart |
+++ b/sdk/lib/_internal/compiler/implementation/universe/universe.dart |
@@ -217,6 +217,12 @@ class Selector { |
int get positionalArgumentCount => argumentCount - namedArgumentCount; |
DartType get receiverType => null; |
+ /** |
+ * The member name for invocation mirrors created from this selector. |
+ */ |
+ String get invocationMirrorMemberName => |
+ isSetter() ? '${name.slowToString()}=' : name.slowToString(); |
+ |
bool applies(Element element, Compiler compiler) |
=> appliesUntyped(element, compiler); |