Index: pkg/compiler/lib/src/parser/node_listener.dart |
diff --git a/pkg/compiler/lib/src/parser/node_listener.dart b/pkg/compiler/lib/src/parser/node_listener.dart |
index 55a698ea95396910272d399cb5068145434896b8..f427fd599bc87c66835cf9c414f9647d5008d0ef 100644 |
--- a/pkg/compiler/lib/src/parser/node_listener.dart |
+++ b/pkg/compiler/lib/src/parser/node_listener.dart |
@@ -864,6 +864,7 @@ class NodeListener extends ElementListener { |
AsyncModifier asyncModifier = popNode(); |
NodeList formals = popNode(); |
Node name = popNode(); |
+ popNode(); // Discard modifiers. They're recomputed below. |
// TODO(ahe): Move this parsing to the parser. |
int modifierCount = 0; |