-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Code Style: enforce named arguments for literals #19186
Comments
📝 I expect we'll add support for non-trailing named arguments in 15.5. Then enforcing that literals be named will make more sense (be less annoying). |
The non-trailing named arguments feature is merged to master, so this can go ahead. |
@jcouv What's the status of this one? I thought you had it almost working. |
One issue remains in the PR (how the new codefix interacts with the existing refactoring). I should be able to merge by next week (in time for 15.5 preview 2). |
Quick update: from discussions following the issue I mentioned above, that PR is snowballed. The existing refactoring would need to be removed and the code migrated into the new codefix. |
I've dropped my PR with some rationale. If anyone is interested, feel free to pick up this issue. |
probably it's best to limit this to invocations with >2 arguments. |
Unlikely to do this given lack of feedback. |
Note: there is already a refactoring for adding named arguments.
The text was updated successfully, but these errors were encountered: