Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dot Shorthands] Dart2JS Implementation #59872

Closed
Tracked by #57036
kallentu opened this issue Jan 9, 2025 · 0 comments
Closed
Tracked by #57036

[Dot Shorthands] Dart2JS Implementation #59872

kallentu opened this issue Jan 9, 2025 · 0 comments
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. feature-dot-shorthands Implementation of the dot shorthands feature. web-dart2js

Comments

@kallentu
Copy link
Member

kallentu commented Jan 9, 2025

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

@kallentu kallentu added area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. feature-dot-shorthands Implementation of the dot shorthands feature. web-dart2js labels Jan 9, 2025
@kallentu kallentu closed this as completed Jan 9, 2025
@kallentu kallentu changed the title [Enum Shorthands] Dart2JS Implementation [Dot Shorthands] Dart2JS Implementation Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. feature-dot-shorthands Implementation of the dot shorthands feature. web-dart2js
Projects
None yet
Development

No branches or pull requests

1 participant