diff --git a/CHANGELOG.md b/CHANGELOG.md index ed078414cc5..fb270be67c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -246,51 +246,6 @@ Updated the Linter to `1.7.0`, which includes changes that [#46545]: https://github.com/dart-lang/sdk/issues/46545 [1]: https://dart.dev/faq#q-what-browsers-do-you-support-as-javascript-compilation-targets -### Language - -* Add an unsigned shift right operator `>>>`. Pad with zeroes, ignoring the - sign bit. On the web platform `int.>>>` shifts the low 32 bits interpreted - as an unsigned integer, so `a >>> b` gives the same result as - `a.toUnsigned(32) >>> b` on the VM. - -* Prior to Dart 2.14, metadata (annotations) were not permitted to be - specified with generic type arguments. This restriction is lifted in Dart - Dart 2.14. - - ```dart - class C { - const C(); - } - @C(); // Previously permitted. - @C(); // Previously an error, now permitted. - ``` - -* Prior to Dart 2.14, generic function types were not permitted as arguments - to generic classes or functions, nor to be used as generic bounds. This - restriction is lifted in Dart 2.14. - - ```dart - T wrapWithLogging(T f) { - if (f is void Function(T x)) { - return (S x) { - print("Call: f<$S>($x)"); - var r = f(x); - print("Return: $x"); - return r; - } as T; - } // More cases here - return f; - } - void foo(T x) { - print("Foo!"); - } - void main() { - // Previously an error, now permitted. - var f = wrapWithLogging(T)>(foo); - f(3); - } - ``` - ## 2.13.4 - 2021-06-28 This is a patch release that fixes: