mirror of
https://github.com/dart-lang/sdk
synced 2024-10-03 00:29:50 +00:00
Dart 2.15 changelog tweaks
Change-Id: I18efbcddcfe130adfcce8811bf6e1b9c9e70697d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/219440 Auto-Submit: Michael Thomsen <mit@google.com> Reviewed-by: Leaf Petersen <leafp@google.com> Commit-Queue: Leaf Petersen <leafp@google.com>
This commit is contained in:
parent
8a6e38832f
commit
a856655545
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -2,10 +2,9 @@
|
||||||
|
|
||||||
### Language
|
### Language
|
||||||
|
|
||||||
The following new features are new in the Dart 2.15 [language version][]. To use
|
The following features are new in the Dart 2.15 [language version][]. To use
|
||||||
them, you must set the lower bound on the SDK constraint for your package to
|
them, you must set the lower bound on the SDK constraint for your package to
|
||||||
2.15 or greater. (If using a beta preview release, use an SDK constraint of
|
2.15 or greater (`sdk: '>=2.15.0 <3.0.0'`).
|
||||||
`>=2.15.0-0`):
|
|
||||||
|
|
||||||
[language version]: https://dart.dev/guides/language/evolution
|
[language version]: https://dart.dev/guides/language/evolution
|
||||||
|
|
||||||
|
@ -113,12 +112,6 @@ them, you must set the lower bound on the SDK constraint for your package to
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Generic type literals are only available as part of the 2.15 [language
|
|
||||||
version](https://dart.dev/guides/language/evolution). To use this feature, you
|
|
||||||
must set the lower bound on the SDK constraint for your package to 2.15 or
|
|
||||||
greater (if using a beta preview release, an SDK constraint of
|
|
||||||
`>=2.15.0-0` must be used).
|
|
||||||
|
|
||||||
- **[Explicit generic method instantiations][explicit instantiation]**: Previous
|
- **[Explicit generic method instantiations][explicit instantiation]**: Previous
|
||||||
Dart versions allowed generic methods to be implicitly specialized (or
|
Dart versions allowed generic methods to be implicitly specialized (or
|
||||||
"instantiated") to non-generic versions when assigned to a location with a
|
"instantiated") to non-generic versions when assigned to a location with a
|
||||||
|
|
Loading…
Reference in a new issue