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

Unified Diff: CHANGELOG.md

Issue 1305273005: Mentioning null-aware in 1.12 changelog (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Small changes Created 5 years, 4 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 aea1b007223c862979796977704a0f0a752d0cde..d7ef690c59fac7e915a6e8ca4fa5aef60be39dd9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,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`.
eernst 2015/08/25 12:28:36 You could say that the reader of this announcement
+
### 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