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

Unified Diff: CHANGELOG.md

Issue 2640163005: Add a changelog entry for `Null`. (Closed)
Patch Set: Address comments. Created 3 years, 11 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 04f687745d4a0e8638fc425d18e53b0206b2dda1..32e757d90318db27bb6570ad4434b33a821e7f35 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -29,6 +29,20 @@
#2 main (file:///Users/mit/tmp/tool/bin/main.dart:9:10)
```
+ * The `Null` type has been moved to the bottom of the type hierarchy. As such,
+ it is considered a subtype of every other type.
+
+ Examples:
+ ```
+ Null foo() => null;
+ int x = foo();
+ String x = foo();
+
+ List<Null> bar() => <Null>[];
+ List<int> = bar();
+ List<String> = bar();
+ ```
+
### Tool changes
* Dart2Js
« 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