Index: pkg/compiler/lib/src/resolution/members.dart |
diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart |
index 1f548797b232e7c297f9c0cb5d094d00fbcc9611..6973a477e982d36bd6796e8fea754c304aba7fb8 100644 |
--- a/pkg/compiler/lib/src/resolution/members.dart |
+++ b/pkg/compiler/lib/src/resolution/members.dart |
@@ -1156,9 +1156,9 @@ class ResolverTask extends CompilerTask { |
} |
AbstractFieldElement field = lookupElement; |
- FunctionElementX getter = field.getter; |
+ MethodElementX getter = field.getter; |
if (getter == null) return; |
- FunctionElementX setter = field.setter; |
+ MethodElementX setter = field.setter; |
if (setter == null) return; |
int getterFlags = getter.modifiers.flags | Modifiers.FLAG_ABSTRACT; |
int setterFlags = setter.modifiers.flags | Modifiers.FLAG_ABSTRACT; |