Skip to content

Node factory should insert override modifier between static and astnc #43699

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

Merged
merged 1 commit into from
Apr 16, 2021

Conversation

weswigham
Copy link
Member

@weswigham weswigham commented Apr 15, 2021

I was looking over #43660 and realized that while it added an error, it didn't adjust our function for serializing modifier flags, createModifiersFromModifierFlags to respect the new order. createModifiersFromModifierFlags's listed order is implicitly our modifier flag priority order right now, at least for output. In this case, you'd probably only notice the difference in a TS -> TS transform orchestrated by our compiler where the node-with-modifiers is edited (since override is a TS only modifier).

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Apr 15, 2021
Copy link
Member

@andrewbranch andrewbranch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah thank you, great catch 🌟

@weswigham weswigham merged commit 0eee64f into microsoft:master Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants