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); |