Index: pkg/dart_parser/lib/src/top_level_parser.dart |
diff --git a/pkg/dart_parser/lib/src/top_level_parser.dart b/pkg/dart_parser/lib/src/top_level_parser.dart |
index 8eae855c9df3b4880b183ee4c0b4838ae539cd0b..b6509c3d1550b8f416f305b77d4e7df45b247d59 100644 |
--- a/pkg/dart_parser/lib/src/top_level_parser.dart |
+++ b/pkg/dart_parser/lib/src/top_level_parser.dart |
@@ -16,11 +16,8 @@ import 'class_member_parser.dart' show |
/// Parser which only parses top-level elements, but ignores their bodies. |
/// Use [Parser] to parse everything. |
class TopLevelParser extends ClassMemberParser { |
- TopLevelParser(Listener listener, |
- {bool asyncAwaitKeywordsEnabled: false, |
- bool enableGenericMethodSyntax: false}) |
- : super(listener, asyncAwaitKeywordsEnabled: asyncAwaitKeywordsEnabled, |
- enableGenericMethodSyntax: enableGenericMethodSyntax); |
+ TopLevelParser(Listener listener, {bool asyncAwaitKeywordsEnabled: false}) |
+ : super(listener, asyncAwaitKeywordsEnabled: asyncAwaitKeywordsEnabled); |
Token parseClassBody(Token token) => skipClassBody(token); |
} |