Skip to content

Commit e17f377

Browse files
committed
removed example with multiline multielement tuple, since it different in different variants
and more text cleanup
1 parent cbdea7d commit e17f377

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

content/NNN-one-element-tuple-syntax.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ There is also no concise syntax for empty tuple types - `EmptyTuple` must be wri
6767
val empty: EmptyTuple = EmptyTuple // No shorthand syntax available
6868
```
6969

70-
Scala supports trailing commas in multi-line contexts (parameters, arguments, imports, tuples, etc.) when the closing delimiter is on its own line (SIP-27). However, there is no way to use a trailing comma to disambiguate single-element tuples from parenthesized expressions, since `(a,)` is a syntax error.
71-
7270
## Proposed Solution
7371

7472
### High-Level Overview

0 commit comments

Comments
 (0)