-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Enforce keyword order between override and static/async #43660
Conversation
Some tests were already using |
The current check of modifier order is painful. Are there any possible to map modifiers into some priority. And we just check the order of priority value. |
I agree @Kingwl, looking at that function, it’s begging to be refactored into something more declarative. Personally I would love to see something like that implemented. |
Thanks for the heads up @DanielRosenwasser! |
Yes 🤦 |
🤦 |
The order is
static override async
.Fixes #43606