mirror of
https://github.com/dart-lang/sdk
synced 2024-10-01 19:14:49 +00:00
Mention for-in static checking in CHANGELOG.
R=nweiz@google.com Review URL: https://codereview.chromium.org/1777733002 .
This commit is contained in:
parent
1f9395fb30
commit
18f46ec2a7
12
CHANGELOG.md
12
CHANGELOG.md
|
@ -1,5 +1,17 @@
|
||||||
## 1.15.0
|
## 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
|
### Core library changes
|
||||||
|
|
||||||
* `dart:async`
|
* `dart:async`
|
||||||
|
|
Loading…
Reference in a new issue