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

Unified Diff: pkg/compiler/lib/src/apiimpl.dart

Issue 839323003: Implementation of async-await transformation on js ast. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 5 years, 10 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 | « no previous file | pkg/compiler/lib/src/closure.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/apiimpl.dart
diff --git a/pkg/compiler/lib/src/apiimpl.dart b/pkg/compiler/lib/src/apiimpl.dart
index 8ce30bb39f8cd0ec121860b3d122f94bb9d7de84..be603fa2904b24746741dc370cb3727263ef386d 100644
--- a/pkg/compiler/lib/src/apiimpl.dart
+++ b/pkg/compiler/lib/src/apiimpl.dart
@@ -84,7 +84,6 @@ class Compiler extends leg.Compiler {
suppressWarnings: hasOption(options, '--suppress-warnings'),
enableExperimentalMirrors:
hasOption(options, '--enable-experimental-mirrors'),
- enableAsyncAwait: hasOption(options, '--enable-async'),
generateCodeWithCompileTimeErrors:
hasOption(options, '--generate-code-with-compile-time-errors'),
allowNativeExtensions:
@@ -106,10 +105,6 @@ class Compiler extends leg.Compiler {
throw new ArgumentError("[packageRoot] must end with a /.");
}
if (!analyzeOnly) {
- if (enableAsyncAwait && emitJavaScript) {
- throw new ArgumentError(
- "--enable-async is currently only supported with --analyze-only");
- }
if (allowNativeExtensions) {
throw new ArgumentError(
"--allow-native-extensions is only supported in combination with "
« no previous file with comments | « no previous file | pkg/compiler/lib/src/closure.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698