Skip to content

Commit

Permalink
Fix missing "is".
Browse files Browse the repository at this point in the history
Change-Id: I22b687c4d33d8411c269bb3612708ba378cf24f7
Reviewed-on: https://dart-review.googlesource.com/17100
Reviewed-by: Florian Loitsch <floitsch@google.com>
  • Loading branch information
floitschG committed Oct 28, 2017
1 parent 457a7b0 commit e6f5588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/newsletter/lib/lib.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit e6f5588

Please sign in to comment.