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

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

Issue 983363005: Flag that --dump-info is not supported for dart2dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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/dart2js.dart » ('j') | pkg/compiler/lib/src/dart2js.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index bd636e43a98c5c2f623e183ea38a58fa566a4e1a..c26087dc10523cce49a3b4959a4d68b82c995ee3 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -1059,6 +1059,9 @@ abstract class Compiler implements DiagnosticListener {
closureNamer = new closureMapping.ClosureNamer();
backend = new dart_backend.DartBackend(this, strips,
multiFile: dart2dartMultiFile);
+ if (dumpInfo) {
+ throw new ArgumentError('--dump-info is not supported for dart2dart.');
+ }
}
tasks = [
« no previous file with comments | « no previous file | pkg/compiler/lib/src/dart2js.dart » ('j') | pkg/compiler/lib/src/dart2js.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698