Skip to content

Final update to SIP-27 Trailing Commas #731

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

Merged
merged 3 commits into from
Mar 30, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Correct brackets vs braces..
  • Loading branch information
dwijnand committed Mar 15, 2017
commit 130acdf8cbc06c826a185988daf27cee1b381ea7
2 changes: 1 addition & 1 deletion sips/completed/_posts/2016-06-25-trailing-commas.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ There are a number of different parts of the Scala grammar that are comma-separa
* `Bindings`
* `ids`, `ValDcl`, `VarDcl`, `VarDef` and `PatDef`

Following Dr. Martin Odersky's suggestion, the proposal is that trailing commas are only supported in comma-separated elements that are enclosed by parentheses, brackets or braces (`)`, `}`, and `]`, respectively).
Following Dr. Martin Odersky's suggestion, the proposal is that trailing commas are only supported in comma-separated elements that are enclosed by parentheses, square brackets or curly braces (`)`, `]`, and `}`, respectively).

## Implementation

Expand Down