Skip to content

Commit 4c402f0

Browse files
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 <[email protected]>
1 parent 7cffd55 commit 4c402f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
* Added support for starting `async` functions synchronously. All tools (VM,
1212
dart2js, DDC) have now a flag `--sync-async` to enable this behavior.
1313
Currently this behavior is opt-in. It will become the default.
14+
* The type `void` is now a Top type like `dynamic`, and `Object`. It also now
15+
has new errors for being used where not allowed (such as being assigned to any
16+
non-`void`-typed parameter). Some libraries (importantly, mockito) may need to
17+
be updated to accept void values to keep their APIs working.
1418

1519
#### Strong Mode
1620

0 commit comments

Comments
 (0)