Index: pkg/compiler/lib/src/parser/element_listener.dart |
diff --git a/pkg/compiler/lib/src/parser/element_listener.dart b/pkg/compiler/lib/src/parser/element_listener.dart |
index e5904f02085c87adbabbb9e1f9d8526cde44bea4..75cd0e9bb0a8391b07716de5186cb5c6d6c7db32 100644 |
--- a/pkg/compiler/lib/src/parser/element_listener.dart |
+++ b/pkg/compiler/lib/src/parser/element_listener.dart |
@@ -731,19 +731,7 @@ class ElementListener extends Listener { |
beginMember(token); |
} |
- void endFields(fieldCount, start, token) { |
- memberErrors = memberErrors.tail; |
- } |
- |
- void endMethod(getOrSet, start, token) { |
- memberErrors = memberErrors.tail; |
- } |
- |
- void beginFactoryMethod(Token token) { |
- memberErrors = memberErrors.prepend(false); |
- } |
- |
- void endFactoryMethod(Token beginToken, Token endToken) { |
+ void endMember() { |
memberErrors = memberErrors.tail; |
} |