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

Unified Diff: tests/compiler/dart2js/parser_helper.dart

Issue 1312613006: Add command-line parameter enabling assert messages. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « pkg/compiler/lib/src/scanner/scanner_task.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/parser_helper.dart
diff --git a/tests/compiler/dart2js/parser_helper.dart b/tests/compiler/dart2js/parser_helper.dart
index c2d3bdfed0ac1d0c73c333b46c39a165dd837c2e..cc0486b7dcfb4f31dc35059a5abccb0fa7119525 100644
--- a/tests/compiler/dart2js/parser_helper.dart
+++ b/tests/compiler/dart2js/parser_helper.dart
@@ -125,7 +125,9 @@ Link<Element> parseUnit(String text, Compiler compiler,
var unit = new CompilationUnitElementX(script, library);
int id = 0;
ElementListener listener = new ElementListener(compiler, unit, () => id++);
- PartialParser parser = new PartialParser(listener);
+ PartialParser parser =
+ new PartialParser(listener,
+ allowAssertMessage: compiler.allowAssertMessage);
compiler.withCurrentElement(unit, () => parser.parseUnit(tokens));
return unit.localMembers;
}
« no previous file with comments | « pkg/compiler/lib/src/scanner/scanner_task.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698