From 408e4c2a1f5aaa6a2a8b3e32581ce4e569ec528c Mon Sep 17 00:00:00 2001 From: mnordine Date: Tue, 13 Jul 2021 01:48:45 +0000 Subject: [PATCH] Remove redundant language block Closes https://github.com/dart-lang/sdk/pull/46593 https://github.com/dart-lang/sdk/pull/46593 GitOrigin-RevId: a7d5667164a9da6c730b40311a47d73fce160f8a Change-Id: I79b87e9a53accf5879a7650754874269d4cfa673 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206602 Reviewed-by: Kevin Moore Commit-Queue: Kevin Moore --- CHANGELOG.md | 45 --------------------------------------------- 1 file changed, 45 deletions(-) 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: