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

Side by Side Diff: CHANGELOG.md

Issue 2718513002: Void is not required to be `null` anymore. (Closed)
Patch Set: Update Kernel code. Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | pkg/compiler/lib/src/inferrer/type_graph_nodes.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## 1.24.0 1 ## 1.24.0
2 2
3 ### Language 3 ### Language
4 * During a dynamic type check, `void` is not required to be `null` anymore.
5 In practice, this makes overriding `void` functions with non-`void` functions
6 safer.
4 7
5 #### Strong Mode 8 #### Strong Mode
6 9
7 * Removed ad hoc Future.then inference in favor of using FutureOr. Prior to 10 * Removed ad hoc Future.then inference in favor of using FutureOr. Prior to
8 adding FutureOr to the language, the analyzer implented an ad hoc type inference 11 adding FutureOr to the language, the analyzer implented an ad hoc type inference
9 for Future.then (and overrides) treating it as if the onValue callback was typed 12 for Future.then (and overrides) treating it as if the onValue callback was typed
10 to return FutureOr for the purposes of inference. This ad hoc inference has 13 to return FutureOr for the purposes of inference. This ad hoc inference has
11 been removed now that FutureOr has been added. 14 been removed now that FutureOr has been added.
12 15
13 Packages that implement `Future` must either type the `onValue` parameter to 16 Packages that implement `Future` must either type the `onValue` parameter to
(...skipping 1880 matching lines...) Expand 10 before | Expand all | Expand 10 after
1894 they will keep the Dart process alive until they time out. This fixes the 1897 they will keep the Dart process alive until they time out. This fixes the
1895 handling of persistent connections. Previously, the client would shut down 1898 handling of persistent connections. Previously, the client would shut down
1896 immediately after a request. 1899 immediately after a request.
1897 1900
1898 * **Breaking change:** `HttpServer` no longer compresses all traffic by 1901 * **Breaking change:** `HttpServer` no longer compresses all traffic by
1899 default. The new `autoCompress` property can be set to `true` to re-enable 1902 default. The new `autoCompress` property can be set to `true` to re-enable
1900 compression. 1903 compression.
1901 1904
1902 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, 1905 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument,
1903 which controls how it resolves `package:` URIs. 1906 which controls how it resolves `package:` URIs.
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/inferrer/type_graph_nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698