Skip to content

[dart2js] Sound null safety cleanup #60327

@rakudrama

Description

@rakudrama

Now that we no longer need to support legacy types:

  • Remove legacy type check helpers _asBoolS, _asIntS from impacts
    • Measure and report change in intermediate file sizes in modular compile
  • Remove legacy type check helpers from rti library
  • Replace uses options.useLegacySubtyping with false and simplify code
  • Remove class LegacyType
  • Remove Recipe.wrapStar and options.printLegacyStars

I'm interested in measuring the intermediate file sizes to see if BackenImpacts.newRtiImpact might be further simplified by omitting elements that are referenced from others.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.type-taskA well-defined stand-alone taskweb-dart2js

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions