[dart2js] Indirect Uint8List(0) as List<int>
not optimized
#59935
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
dart2js-optimization
dart2js-ssa
web-dart2js
Source:
Output:
Global type inference determines that
list
is aNativeUint8List
.Inlining brings the typed list adjacent to the check.
Either should be sufficient to determine that the as-check always passes.
The text was updated successfully, but these errors were encountered: