Skip to content

Conversation

@c42f
Copy link
Member

@c42f c42f commented Dec 22, 2024

This syntax flag allows the stylistic choice of adding trailing commas to be easily detected. For example, f(x) vs f(x,) and (a,b) vs (a,b,).

This syntax flag allows the stylistic choice of adding trailing commas
to be easily detected. For example, `f(x)` vs `f(x,)` and `(a,b)` vs
`(a,b,)`.
@c42f
Copy link
Member Author

c42f commented Dec 22, 2024

People who are working on or interested in formatting libraries might find this interesting / useful.

CC @domluna @fredrikekre @davidanthoff

@c42f
Copy link
Member Author

c42f commented Dec 22, 2024

Ok, tests passed. I think I'll just merge this as it's a fairly minor improvement but I need it for other things I'm working on.

@c42f c42f merged commit 5ff59c2 into main Dec 22, 2024
36 checks passed
@c42f c42f deleted the caf/trailing-comman-flag branch December 22, 2024 01:30
@c42f
Copy link
Member Author

c42f commented Dec 22, 2024

(comments always still welcome)

c42f added a commit to JuliaLang/julia that referenced this pull request Oct 17, 2025
…ng/JuliaSyntax.jl#521)

This syntax flag allows the stylistic choice of adding trailing commas
to be easily detected. For example, `f(x)` vs `f(x,)` and `(a,b)` vs
`(a,b,)`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant