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

Unified Diff: CHANGELOG.md

Issue 2822173002: Warn when adding something to a closed sink and improve documentation (Closed)
Patch Set: Fix Zone.print only taking a string and update status files. Created 3 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 | « no previous file | sdk/lib/async/stream.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: CHANGELOG.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cbbf5bc88e05729b57c16fe6fa3e6a530056b992..d8680e1bbafff240f1a6d81b5adfa011cf144b97 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -34,6 +34,11 @@ entirely to allow inference to fill in the type.
* `dart:async`
* Add `groupBy` to `Stream`. Allows splitting a string into separate streams
depending on "key" property computed from the individual events.
+* `dart:async`, `dart:io`, `dart:core`
+ * Adding to a closed sink, including `IOSink`, is not allowed anymore. In
+ 1.24, violations are only reported (on stdout or stderr), but a future
+ version of the Dart SDK will change this to throwing a `StateError`.
+
### Dart VM
« no previous file with comments | « no previous file | sdk/lib/async/stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698