From e6f5588b6cfd6e4e18fcdae5974ab38dc6209ee4 Mon Sep 17 00:00:00 2001 From: Florian Loitsch Date: Sat, 28 Oct 2017 13:48:30 +0000 Subject: [PATCH] Fix missing "is". Change-Id: I22b687c4d33d8411c269bb3612708ba378cf24f7 Reviewed-on: https://dart-review.googlesource.com/17100 Reviewed-by: Florian Loitsch --- docs/newsletter/lib/lib.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/newsletter/lib/lib.md b/docs/newsletter/lib/lib.md index 05efd62bf75..2042d2b4cd4 100644 --- a/docs/newsletter/lib/lib.md +++ b/docs/newsletter/lib/lib.md @@ -100,7 +100,7 @@ We renamed the `expires` field of the `Deprecated` class to `message`. We removed the `Proxy` (and `proxy`) annotation, since it is not useful in Dart 2.0 anymore. -> Renaming instance members is, in theory, slightly more breaking than static elements. If a user accessed the expires field of Deprecated through dynamic, a static analysis tool would not be able to detect the breakage. This, on its own, is already very unlikely. Furthermore, this class and field not used very frequently. +> Renaming instance members is, in theory, slightly more breaking than static elements. If a user accessed the expires field of Deprecated through dynamic, a static analysis tool would not be able to detect the breakage. This, on its own, is already very unlikely. Furthermore, this class and field is not used very frequently. #### Random The `Random` class was moved from `dart:math` to `dart:core`. The `int`, `double` and `bool` classes now have a static `random()` method that returns a random value of the corresponding type. The int type has two versions of the random method: `int random(int max)` and `int randomRange(int from, int to)`. (We are not yet fully sold on `randomRange`. It sounds like it would return a random range and not a value in that range).