Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: pkg/analyzer/test/generated/parser_test.dart

Issue 829133007: Enable enum and deferred import support (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/generated/parser_test.dart
diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart
index 261225472e6ad8668a23e1443dc5c92892717c55..b198e6c39f72b6a73df73664ab37066c1607e581 100644
--- a/pkg/analyzer/test/generated/parser_test.dart
+++ b/pkg/analyzer/test/generated/parser_test.dart
@@ -3023,10 +3023,7 @@ class ParserTestCase extends EngineTestCase {
* @return the parser that was created
*/
static Parser createParser(GatheringErrorListener listener) {
- Parser parser = new Parser(null, listener);
- parser.parseDeferredLibraries = true;
- parser.parseEnum = true;
- return parser;
+ return new Parser(null, listener);
}
/**
@@ -3059,7 +3056,6 @@ class ParserTestCase extends EngineTestCase {
//
Parser parser = createParser(listener);
parser.parseFunctionBodies = parseFunctionBodies;
- parser.parseDeferredLibraries = true;
Object result =
invokeParserMethodImpl(parser, methodName, objects, tokenStream);
//
« no previous file with comments | « pkg/analyzer/test/generated/non_error_resolver_test.dart ('k') | pkg/analyzer/test/generated/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698