From a856655545e80c58262355e4e9c3af3d928cdfbe Mon Sep 17 00:00:00 2001 From: Michael Thomsen Date: Fri, 5 Nov 2021 18:48:27 +0000 Subject: [PATCH] Dart 2.15 changelog tweaks Change-Id: I18efbcddcfe130adfcce8811bf6e1b9c9e70697d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/219440 Auto-Submit: Michael Thomsen Reviewed-by: Leaf Petersen Commit-Queue: Leaf Petersen --- CHANGELOG.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef0ba404ca3..81152a0fb9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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