You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but removes them from def parameter lists and similar nodes:
deffoo(
x,
y
)
endmacrofoo(
x,
y
)
endfunfoo(
x : Int32,
y : Int32
)
end
I think we should add the commas here too, unless the last parameter is a & or a .... This is to minimize diff noise when the parameters are moved around, added, or deleted. (By definition a block or a C vararg list must be the last parameter, so they aren't subject to this and can continue to have their trailing commas removed.)
The text was updated successfully, but these errors were encountered:
The formatter appends a comma to the last elements of multiline container literals:
to multiline type names (sometimes):
preserves it in multiline calls:
but removes them from def parameter lists and similar nodes:
I think we should add the commas here too, unless the last parameter is a
&
or a...
. This is to minimize diff noise when the parameters are moved around, added, or deleted. (By definition a block or a C vararg list must be the last parameter, so they aren't subject to this and can continue to have their trailing commas removed.)The text was updated successfully, but these errors were encountered: