Chromium Code Reviews

Unified Diff: sdk/lib/_internal/dartdoc/lib/dartdoc.dart

Issue 25094002: Adapt streams for additional stackTrace argument. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Upload Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: sdk/lib/_internal/dartdoc/lib/dartdoc.dart
diff --git a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
index 1f94af616f8a5b2963bb768fe21453b96ebf0b50..219ad61747d88b0243d57dfb48184690fee1e901 100644
--- a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
+++ b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
@@ -116,7 +116,7 @@ Future copyDirectory(String from, String to) {
}
},
onDone: () => Future.wait(futureList).then((_) => completer.complete()),
- onError: (e) => completer.completeError(e));
+ onError: completer.completeError);
return completer.future;
}

Powered by Google App Engine