Skip to content

Commit 0066ac4

Browse files
committed
SIP-27: Be more explicit about multi-line
1 parent 3d9f0ea commit 0066ac4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sips/completed/_posts/2016-06-25-trailing-commas.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ There are a number of different parts of the Scala grammar that are comma-separa
132132

133133
With this proposal I would like to present 2 variants:
134134

135-
1. The first variant adds trailing comma support to only `ArgumentExprs`, `Params` and `ClassParams`, which I consider to be the parts of the grammar that would most benefit from trailing commas.
135+
1. The first variant adds trailing comma support to only multi-line `ArgumentExprs`, `Params` and `ClassParams`, which I consider to be the parts of the grammar that would most benefit from trailing commas.
136136

137-
2. The second variant adds trailing comma support to the whole grammar, which means more consistency, but also supporting trailing commas in places that doesn't really need it, such as `ids`.
137+
2. The second variant adds trailing comma support to the whole grammar (again, only for multi-line), which means more consistency, but also supporting trailing commas in places that doesn't really need it, such as `ids`.
138138

139139
In this proposal, only the first variant is considered: trailing comma support for `ArgumentExprs`, `Params` and `ParamClasses` for the sake of simplicity.
140140

0 commit comments

Comments
 (0)