Add void semantic changes to the changelog, as they are now.

Deliberately a bit vague so that it is compliant with various subtle
changes that could still occur. Also, some suggestions to help people
migrate mockito, broadened into more general advice.

Bug: 32117
Change-Id: I93ee5575e85a6fb5f7fc7d2c5806b237a19c0ce4
Reviewed-on: https://dart-review.googlesource.com/40505
Reviewed-by: Samuel Rawlins <srawlins@google.com>
This commit is contained in:
Mike Fairhurst 2018-02-12 02:15:58 +00:00
parent 7cffd55c41
commit 4c402f06da

View file

@ -11,6 +11,10 @@
* Added support for starting `async` functions synchronously. All tools (VM,
dart2js, DDC) have now a flag `--sync-async` to enable this behavior.
Currently this behavior is opt-in. It will become the default.
* The type `void` is now a Top type like `dynamic`, and `Object`. It also now
has new errors for being used where not allowed (such as being assigned to any
non-`void`-typed parameter). Some libraries (importantly, mockito) may need to
be updated to accept void values to keep their APIs working.
#### Strong Mode