Skip to content

[record_use] Implementation: dart2js: Stop using package:record_use in compiler internals #2900

@dcharkes

Description

@dcharkes

dart2js needs to serialize and deserialize all its logic internally, and needs to do so in an incremental / separate compilation manner.

package:record_use is a format meant to be used for when all information is known and meant to be used as a whole, not in parts (don't serialize a single const that has a index to another const in some index).

So, we'll need to refactor the dart2js implementation to only convert to record_use types before writing the file instead of in the internals.

Context:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions