Skip to content

Desugar doc fix #23186

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 1 commit into from
May 20, 2025
Merged
Changes from all commits
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
8 changes: 4 additions & 4 deletions compiler/src/dotty/tools/dotc/ast/Desugar.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1868,18 +1868,18 @@ object desugar {
/** Map n-ary function `(x1: T1, ..., xn: Tn) => body` where n != 1 to unary function as follows:
*
* (x$1: (T1, ..., Tn)) => {
* def x1: T1 = x$1._1
* val x1: T1 = x$1._1
* ...
* def xn: Tn = x$1._n
* val xn: Tn = x$1._n
* body
* }
*
* or if `isGenericTuple`
*
* (x$1: (T1, ... Tn) => {
* def x1: T1 = x$1.apply(0)
* val x1: T1 = x$1.apply(0)
* ...
* def xn: Tn = x$1.apply(n-1)
* val xn: Tn = x$1.apply(n-1)
* body
* }
*
Expand Down
Loading