1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-08 12:06:26 +00:00

Add changelog entry for language change on int literals

Bug: https://github.com/dart-lang/sdk/issues/33282
Change-Id: I50d1a8855e83996777b8b8e051cd4171d5a8a9aa
Reviewed-on: https://dart-review.googlesource.com/63664
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
This commit is contained in:
Sigmund Cherem 2018-07-03 19:12:35 +00:00 committed by commit-bot@chromium.org
parent 8c63d578a6
commit 90e9fec5ae

View File

@ -81,12 +81,18 @@ unless the return type of the function is `void` or `dynamic`.
* Mixed return statements of the form `return;` and `return exp;` are now
allowed when `exp` has type `void`.
* A compile time error is emitted for any literal which cannot be exactly
represented on the target platform. As a result, dart2js and DDC will
report errors if an integer literal cannot be represented exactly in
JavaScript. Issue [33282][issue 33282].
[issue 31887]: https://github.com/dart-lang/sdk/issues/31887
[issue 30638]: https://github.com/dart-lang/sdk/issues/30638
[issue 32233]: https://github.com/dart-lang/sdk/issues/32233
[issue 32881]: https://github.com/dart-lang/sdk/issues/32881
[issue 33218]: https://github.com/dart-lang/sdk/issues/33218
[issue 31278]: https://github.com/dart-lang/sdk/issues/31278
[issue 33282]: https://github.com/dart-lang/sdk/issues/33282
### Dart VM