mirror of
https://github.com/dart-lang/sdk
synced 2024-10-03 02:42:05 +00:00
Add changelog entry for integer literals in double contexts.
Bug: http://dartbug.com/34355 Change-Id: I862ec975d3c0c2d916b9a03af95bf92e1a4625a7 Reviewed-on: https://dart-review.googlesource.com/c/79213 Reviewed-by: Leaf Petersen <leafp@google.com> Commit-Queue: Leaf Petersen <leafp@google.com>
This commit is contained in:
parent
6b67cd784b
commit
5658d406b7
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -4,6 +4,16 @@
|
||||||
|
|
||||||
### Language
|
### Language
|
||||||
|
|
||||||
|
* Allow integer literals to be used in double contexts.
|
||||||
|
An integer literal used in a place where a double is required is now
|
||||||
|
interpreted as a double value. The numerical value of the literal needs
|
||||||
|
to be precisely representable as a double value.
|
||||||
|
|
||||||
|
* Integer literals compiled to JavaScript are now allowed to have any
|
||||||
|
value that can be exactly represented as a JavaScript `Number`.
|
||||||
|
They were previously limited to such numbers that were also representable
|
||||||
|
as signed 64-bit integers.
|
||||||
|
|
||||||
### Core library changes
|
### Core library changes
|
||||||
|
|
||||||
### Dart VM
|
### Dart VM
|
||||||
|
|
Loading…
Reference in a new issue