Skip to content
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

Simplify keyword argument calls for Julia ≥1.5 #687

Open
rikhuijzer opened this issue Feb 14, 2023 · 1 comment
Open

Simplify keyword argument calls for Julia ≥1.5 #687

rikhuijzer opened this issue Feb 14, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@rikhuijzer
Copy link
Contributor

From Julia 1.5 onward, keyword arguments can be simplified if the variable name and keyword name are the same, that is, f(; x=x) can be written as f(; x). This was introduced in this PR and can be found in the NEWS.md for Julia 1.5.

Can JuliaFormatter be used to simplify these calls too?

@domluna domluna added the enhancement New feature or request label Feb 15, 2023
@clizbe
Copy link

clizbe commented Aug 12, 2024

+1 to have this feature added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants