mirror of
https://github.com/dart-lang/sdk
synced 2024-10-02 23:39:19 +00:00
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:
parent
7cffd55c41
commit
4c402f06da
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue