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

Unified Diff: pkg/front_end/lib/src/fasta/compiler_command_line.dart

Issue 2980033004: Throw if there is no compiler context available (Closed)
Patch Set: Created 3 years, 5 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/front_end/lib/src/fasta/compiler_command_line.dart
diff --git a/pkg/front_end/lib/src/fasta/compiler_command_line.dart b/pkg/front_end/lib/src/fasta/compiler_command_line.dart
index 345a304d3c6269edfe2ed6908cb37ca74161310f..f3c60fd7def66217ec71df225492f439dbc52fb2 100644
--- a/pkg/front_end/lib/src/fasta/compiler_command_line.dart
+++ b/pkg/front_end/lib/src/fasta/compiler_command_line.dart
@@ -156,10 +156,6 @@ class CompilerCommandLine extends CommandLine {
return CompilerContext.withGlobalOptions(
new CompilerCommandLine(programName, arguments), f);
}
-
- static CompilerCommandLine forRootContext() {
- return new CompilerCommandLine("", [""]);
- }
}
Message computeUsage(String programName, bool verbose) {
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/compiler_context.dart » ('j') | pkg/front_end/lib/src/fasta/compiler_context.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698