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

Unified Diff: CHANGELOG.md

Issue 1777733002: Mention for-in static checking in CHANGELOG. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 | no next file » | 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 99d8a0083a218b49dca8d8417861d60e4b6fcab3..ba02f660c5c858ba759d133b8e3edd6cf611b5d6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,17 @@
## 1.15.0
+### Analyzer
+
+* Static checking of `for in` statements. These will now produce static
+ warnings:
+
+ ```dart
+ // Not Iterable.
+ for (var i in 1234) { ... }
+
+ // String cannot be assigned to int.
+ for (int n in <String>["a", "b"]) { ... }
+
### Core library changes
* `dart:async`
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698