Skip to content

Commit b002a17

Browse files
committed
1 parent 71efbad commit b002a17

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,20 @@
2929
#2 main (file:///Users/mit/tmp/tool/bin/main.dart:9:10)
3030
```
3131
32+
* The `Null` type has been moved to the bottom of the type hierarchy. As such,
33+
it is considered a subtype of every other type.
34+
35+
Examples:
36+
```
37+
Null foo() => null;
38+
int x = foo();
39+
String x = foo();
40+
41+
List<Null> bar() => <Null>[];
42+
List<int> = bar();
43+
List<String> = bar();
44+
```
45+
3246
### Tool changes
3347
3448
* Dart2Js

0 commit comments

Comments
 (0)