File tree 2 files changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/ast
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1480,7 +1480,7 @@ object desugar {
1480
1480
case _ => elems
1481
1481
end checkWellFormedTupleElems
1482
1482
1483
- /** Translate tuple expressions of arity <= 22
1483
+ /** Translate tuple expressions
1484
1484
*
1485
1485
* () ==> ()
1486
1486
* (t) ==> t
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ object NamedTuple:
25
25
/** The number of elements in this tuple */
26
26
inline def size : Tuple .Size [V ] = toTuple.size
27
27
28
- // This intentionally works for empty named tuples as well. I think NnEmptyTuple is a dead end
29
- // and should be reverted, justy like NonEmptyList is also appealing at first, but a bad idea
28
+ // This intentionally works for empty named tuples as well. I think NonEmptyTuple is a dead end
29
+ // and should be reverted, just like NonEmptyList is also appealing at first, but a bad idea
30
30
// in the end.
31
31
32
32
/** The value (without the name) at index `n` of this tuple */
You can’t perform that action at this time.
0 commit comments