Skip to content

Commit fbf4172

Browse files
committed
SIP-27: Try & clarify the drawbacks of whole grammar trailing comma support
1 parent d1ebb53 commit fbf4172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ With this proposal I would like to present 2 variants:
141141

142142
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.
143143

144-
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`.
144+
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 in practice don't really require it as much, such as `ids`.
145145

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

0 commit comments

Comments
 (0)