mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 12:30:03 +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:
parent
8c63d578a6
commit
90e9fec5ae
|
@ -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
|
* Mixed return statements of the form `return;` and `return exp;` are now
|
||||||
allowed when `exp` has type `void`.
|
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 31887]: https://github.com/dart-lang/sdk/issues/31887
|
||||||
[issue 30638]: https://github.com/dart-lang/sdk/issues/30638
|
[issue 30638]: https://github.com/dart-lang/sdk/issues/30638
|
||||||
[issue 32233]: https://github.com/dart-lang/sdk/issues/32233
|
[issue 32233]: https://github.com/dart-lang/sdk/issues/32233
|
||||||
[issue 32881]: https://github.com/dart-lang/sdk/issues/32881
|
[issue 32881]: https://github.com/dart-lang/sdk/issues/32881
|
||||||
[issue 33218]: https://github.com/dart-lang/sdk/issues/33218
|
[issue 33218]: https://github.com/dart-lang/sdk/issues/33218
|
||||||
[issue 31278]: https://github.com/dart-lang/sdk/issues/31278
|
[issue 31278]: https://github.com/dart-lang/sdk/issues/31278
|
||||||
|
[issue 33282]: https://github.com/dart-lang/sdk/issues/33282
|
||||||
|
|
||||||
### Dart VM
|
### Dart VM
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue