mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 13:57:58 +00:00
CHANGELOG copyedits
Originally from https://github.com/dart-lang/sdk/pull/34064 Change-Id: Ic0052055b63ba9939723428d65b8f2c4218ef504 Reviewed-on: https://dart-review.googlesource.com/68201 Reviewed-by: Kevin Moore <kevmoo@google.com>
This commit is contained in:
parent
5f4c617117
commit
91c6130b5e
|
@ -14,7 +14,7 @@ significant changes across all areas of the platform. Large changes include:
|
||||||
|
|
||||||
* **(Breaking)** Functions marked `async` now run synchronously to the first
|
* **(Breaking)** Functions marked `async` now run synchronously to the first
|
||||||
`await` statement instead of returning to the event loop once at the top of
|
`await` statement instead of returning to the event loop once at the top of
|
||||||
the function body before any code runs ([issue ][30345]).
|
the function body before any code runs ([issue 30345][]).
|
||||||
|
|
||||||
* **(Breaking)** Constants in the core libraries have been renamed from
|
* **(Breaking)** Constants in the core libraries have been renamed from
|
||||||
`SCREAMING_CAPS` to `lowercaseWithUnderscores`.
|
`SCREAMING_CAPS` to `lowercaseWithUnderscores`.
|
||||||
|
@ -61,7 +61,7 @@ significant changes across all areas of the platform. Large changes include:
|
||||||
file. The Dart 1.0 syntax is supported but deprecated.
|
file. The Dart 1.0 syntax is supported but deprecated.
|
||||||
|
|
||||||
* Added support for starting `async` functions synchronously. All tools (VM,
|
* Added support for starting `async` functions synchronously. All tools (VM,
|
||||||
dart2js, DDC) support this ([issue ][30345]).
|
dart2js, DDC) support this ([issue 30345][]).
|
||||||
|
|
||||||
* The type `void` is now a Top type like `dynamic`, and `Object`. It also now
|
* 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
|
has new errors for being used where not allowed (such as being assigned to
|
||||||
|
@ -80,7 +80,7 @@ significant changes across all areas of the platform. Large changes include:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
* Invocations of noSuchMethod receive default values for optional args. The
|
* Invocations of `noSuchMethod()` receive default values for optional args. The
|
||||||
following program used to print "No arguments passed", and now prints "First
|
following program used to print "No arguments passed", and now prints "First
|
||||||
argument is 3".
|
argument is 3".
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue