Index: pkg/compiler/lib/src/parser/class_element_parser.dart |
diff --git a/pkg/compiler/lib/src/parser/class_element_parser.dart b/pkg/compiler/lib/src/parser/class_element_parser.dart |
index 745665d07b404ea753de06d4553348c8ebea23df..319cba59c96049d927c23a41b0eb629a93c6bb7d 100644 |
--- a/pkg/compiler/lib/src/parser/class_element_parser.dart |
+++ b/pkg/compiler/lib/src/parser/class_element_parser.dart |
@@ -13,7 +13,8 @@ import 'partial_parser.dart' show |
PartialParser; |
class ClassElementParser extends PartialParser { |
- ClassElementParser(Listener listener) : super(listener); |
+ ClassElementParser(Listener listener) |
+ : super(listener, enableConditionalDirectives: false); |
Token parseClassBody(Token token) => fullParseClassBody(token); |
} |