1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-03 00:08:46 +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:
Lasse R.H. Nielsen 2018-10-11 20:15:23 +00:00 committed by commit-bot@chromium.org
parent 6b67cd784b
commit 5658d406b7

View File

@ -4,6 +4,16 @@
### 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
### Dart VM