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

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

Issue 886833005: Fix await parsing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added comment 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
« no previous file with comments | « tests/compiler/dart2js/metadata_test.dart ('k') | tests/compiler/dart2js/mock_libraries.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index 2d40fc99dfa36f1c54fc8aa3b784150ac71b210b..177083d4f6844c74eeee956bebd95da2749dbb14 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -74,6 +74,7 @@ class MockCompiler extends Compiler {
// affected by inlining support.
bool disableInlining: true,
bool trustTypeAnnotations: false,
+ bool enableAsyncAwait: false,
int this.expectedWarnings,
int this.expectedErrors,
api.CompilerOutputProvider outputProvider,
@@ -91,7 +92,8 @@ class MockCompiler extends Compiler {
preserveComments: preserveComments,
trustTypeAnnotations: trustTypeAnnotations,
showPackageWarnings: true,
- outputProvider: outputProvider) {
+ outputProvider: outputProvider,
+ enableAsyncAwait: enableAsyncAwait) {
this.disableInlining = disableInlining;
deferredLoadTask = new MockDeferredLoadTask(this);
« no previous file with comments | « tests/compiler/dart2js/metadata_test.dart ('k') | tests/compiler/dart2js/mock_libraries.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698