Skip to content

Commit

Permalink
Mentioning null-aware in 1.12 changelog
Browse files Browse the repository at this point in the history
BUG=none
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//1305273005 .
  • Loading branch information
mit-mit committed Aug 25, 2015
1 parent 6b15699 commit 8c346ab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@

## 1.12.0

### Language changes

* Null-aware operators
* `??`: if null operator. `expr1 ?? expr2` evaluates to `expr1` if not `null`, otherwise `expr2`.
* `??=`: null-aware assignment. `v ??= expr` causes `v` to be assigned `expr` only if `v` is `null`.
* `x?.p`: null-aware access. `x?.p` evaluates to `x.p` if `x` is not `null`, otherwise evaluates to `null`.
* `x?.m()`: null-aware method invocation. `x?.m()` invokes `m` only if `x` is not `null`.

### Core library changes

* `dart:async`
Expand Down

0 comments on commit 8c346ab

Please sign in to comment.