Consider Deprecating & Removing BitField
and kMaxUnsignedSMI
#27819
Labels
c: API break
Backwards-incompatible API changes
c: proposal
A detailed proposal for a change to Flutter
framework
flutter/packages/flutter repository. See also f: labels.
P2
Important issues not at the top of the work list
team-framework
Owned by Framework team
triaged-framework
Triaged by Framework team
Uh oh!
There was an error while loading. Please reload this page.
The
kMaxUnsignedSMI
is based on and refers to smi and mints concepts from Dart 1. In Dart 2 all ints are 64 bits, making the current name and size inaccurate. It also cannot be accurately represented in JavaScript which only supports 32 bit ints. This poses issues for compilation, requiring either unsupported replacements or different behavior.The BitField depends on this constant, but is also unused in the framework.
There were several new usages of the
kMaxUnsignedSMI
value which we should audit before introducing more.cc @goderbauer @gspencergoog @Hixie
The text was updated successfully, but these errors were encountered: