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

Unified Diff: bin/dartdevc.dart

Issue 2016483002: Enable strong mode in DDC, fix all warnings/errors (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 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 | « .analysis_options ('k') | lib/src/analyzer/context.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/dartdevc.dart
diff --git a/bin/dartdevc.dart b/bin/dartdevc.dart
index c32b1716ac92e71b7641b3e6e2d8d9e558d59e96..4daaa83185f390469349c39a7a8ecb10627257f7 100755
--- a/bin/dartdevc.dart
+++ b/bin/dartdevc.dart
@@ -75,7 +75,7 @@ class _CompilerWorker extends AsyncWorkerLoop {
/// Performs each individual work request.
Future<WorkResponse> performRequest(WorkRequest request) async {
- var args = new List.from(_startupArgs)..addAll(request.arguments);
+ var args = _startupArgs.toList()..addAll(request.arguments);
var output = new StringBuffer();
var exitCode = await _runCommand(args, messageHandler: output.writeln);
« no previous file with comments | « .analysis_options ('k') | lib/src/analyzer/context.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698