Open leafpetersen opened 6 years ago
More details, copied over from https://github.com/dart-lang/sdk/issues/33160#issuecomment-392910496 .
Step 1 - In the Dart 2 timeframe:
0xffffffff00000000
will denote a different value on different platforms.Step 2 - In the post Dart 2 timeframe:
An implication of all of this is that we have (more) platform specific errors and warnings. In the short term, these will only be surfaced by the compilers. The analyzer/IDE may or may not choose to offer a way to select a platform for additional errors and warnings.
Implementation implications:
Step 1:
Step 2:
cc @lrhn
Because this will not be complete for Dart2Stable, dropping the milestone (all sub-issues needed for Dart2Stable are marked for the Dart2Stable milestone)
There should be a step to announce this breaking change as well.
This is the meta-issue for platform specific integer literals. See https://github.com/dart-lang/sdk/issues/33160 for background discussion.
The decided upon course of action is here: https://github.com/dart-lang/sdk/issues/33160#issuecomment-392910496 (also summarized below).
TODO: Step 1: (For Dart 2 release):
Step 2: (Post Dart 2):