Skip to content

[Dot Shorthands] Dart2JS Implementation #59872

@kallentu

Description

@kallentu

This issue tracks work needed to implement dot shorthands in Dart2JS.

From the CFE prototype I've been working on, I'll most likely be rewriting dot shorthand nodes into the full typed expressions (so .blue -> Color.blue). The backends won't really know the difference, having given the full expanded reference, and shouldn't need work on their end.

I'll keep the issue open in case we think of anything else or if anything changes.

cc. @sigmundch @natebiggs

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.feature-dot-shorthandsImplementation of the dot shorthands feature.web-dart2js

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions