Skip to content

[Class modifiers] Angular compiler implementation #50740

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

Closed
itsjustkevin opened this issue Dec 15, 2022 · 12 comments
Closed

[Class modifiers] Angular compiler implementation #50740

itsjustkevin opened this issue Dec 15, 2022 · 12 comments
Labels
area-google3 Tracking issues for internal work. Note that this area is not triaged. area-web-js Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop. web-infrastructure internal techdebt or infrastructure issues affecting the web team specifically
Milestone

Comments

@itsjustkevin
Copy link
Contributor

No description provided.

@munificent munificent changed the title [NCM] Angular compiler implementation [Class modifiers] Angular compiler implementation Dec 17, 2022
@lrhn lrhn added the area-web-js Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop. label Dec 20, 2022
@annagrin annagrin added the area-google3 Tracking issues for internal work. Note that this area is not triaged. label Jan 5, 2023
@annagrin
Copy link
Contributor

annagrin commented Jan 5, 2023

/cc grouma would this be on your team?

@sigmundch
Copy link
Member

/cc @grouma for real this time :)

@sigmundch
Copy link
Member

@itsjustkevin @leafpetersen - do we actually expect this to affect internal frameworks?

More generally, would it make more sense to track internal framework efforts in the internal bug tracker instead?

@grouma
Copy link
Member

grouma commented Jan 13, 2023

@itsjustkevin @leafpetersen - do we actually expect this to affect internal frameworks?

+1. From a quick glance I don't think there is much work to do on our end. It's possible we need to modify the compiler to improve error handling when the new features are used improperly. We also can take advantage of some of the new features, e.g. sealed types.

cc @leonsenft for additional thoughts.

@leonsenft
Copy link

Agreed. It seems like most of the errors produced by these features would be raised as errors in user authored code before Angular-generated code.

@joshualitt joshualitt added the web-infrastructure internal techdebt or infrastructure issues affecting the web team specifically label Jan 20, 2023
@itsjustkevin
Copy link
Contributor Author

@itsjustkevin @leafpetersen - do we actually expect this to affect internal frameworks?

More generally, would it make more sense to track internal framework efforts in the internal bug tracker instead?

We should still have some way of tracking this here. @grouma are these already tracked through internal bugs?

@leafpetersen
Copy link
Member

For historical context: we added this meta-issue after one feature we added turned out to break the angular compiler when it was used in code that angular consumed (perhaps extension methods?). The issue is intended to track validating that everything works as intended (or is documented as not working, don't use with angular). We have historically often opened an internal bug to track any actual work, but since there is no way to link internal bugs into external milestones/projects/etc, we added these issues as part of our release checklist. I'm fine with any way of tracking this, so long as we have "validate that angular works" on some checklist somewhere.

@srawlins srawlins added this to the Dart 3 stable milestone Apr 27, 2023
@srawlins
Copy link
Member

I added this to the "Dart 3 stable" milestone.

I agree with the sentiments above that I can't think of any way that a user could use Class Modifiers that would crash the Angular compiler, or that would result in UB or something. Any static errors that arise from mis-use of the modifiers should continue to be reported as normal.

@grouma
Copy link
Member

grouma commented Apr 27, 2023

Internal tracking id: b/279910423

@eernstg
Copy link
Member

eernstg commented Apr 19, 2024

@grouma, just wondering, can we close this now? ('status: fixed')

@grouma
Copy link
Member

grouma commented Apr 19, 2024

Yes this can be closed.

@eernstg
Copy link
Member

eernstg commented Apr 19, 2024

Thanks!

@eernstg eernstg closed this as completed Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-google3 Tracking issues for internal work. Note that this area is not triaged. area-web-js Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop. web-infrastructure internal techdebt or infrastructure issues affecting the web team specifically
Projects
None yet
Development

No branches or pull requests

10 participants