1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-03 00:08:46 +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:
Michael Thomsen 2021-11-05 18:48:27 +00:00 committed by commit-bot@chromium.org
parent 8a6e38832f
commit a856655545

View File

@ -2,10 +2,9 @@
### 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
2.15 or greater. (If using a beta preview release, use an SDK constraint of
`>=2.15.0-0`):
2.15 or greater (`sdk: '>=2.15.0 <3.0.0'`).
[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
Dart versions allowed generic methods to be implicitly specialized (or
"instantiated") to non-generic versions when assigned to a location with a