Skip to content

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

Merged
Wesley Wigham (weswigham) merged 1 commit into
microsoft:masterfrom
weswigham:make-override-before-async
Apr 16, 2021
Merged

Node factory should insert override modifier between static and astnc#43699
Wesley Wigham (weswigham) merged 1 commit into
microsoft:masterfrom
weswigham:make-override-before-async

Conversation

@weswigham

@weswigham Wesley Wigham (weswigham) commented Apr 15, 2021

Copy link
Copy Markdown
Member

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).

Copy link
Copy Markdown
Member

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
Wesley Wigham (weswigham) merged commit 0eee64f into microsoft:master Apr 16, 2021
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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