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

Unified Diff: sdk/lib/async/stream_controller.dart

Issue 1177343004: Add Stream.empty. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add test, fix impl. Created 5 years, 6 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: sdk/lib/async/stream_controller.dart
diff --git a/sdk/lib/async/stream_controller.dart b/sdk/lib/async/stream_controller.dart
index a4116cd7a4771d3e1e0997b93e43b16607e2fdc9..bf567ed70401d743aa6989a76ad61b67afb320b4 100644
--- a/sdk/lib/async/stream_controller.dart
+++ b/sdk/lib/async/stream_controller.dart
@@ -176,9 +176,6 @@ abstract class StreamController<T> implements StreamSink<T> {
* Send or enqueue an error event.
*
* If [error] is `null`, it is replaced by a [NullThrownError].
- *
- * Also allows an objection stack trace object, on top of what [EventSink]
- * allows.
*/
void addError(Object error, [StackTrace stackTrace]);

Powered by Google App Engine
This is Rietveld 408576698