Thread overview
[Issue 21913] [Statements] foreach (index,value;range); sugar is undocumented and narrow
May 10, 2021
Adam D. Ruppe
Oct 05, 2022
Nick Treleaven
Oct 05, 2022
Nick Treleaven
May 10, 2021
https://issues.dlang.org/show_bug.cgi?id=21913

Adam D. Ruppe <destructionator@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |destructionator@gmail.com

--- Comment #1 from Adam D. Ruppe <destructionator@gmail.com> ---
it is a compiler-tuple it needs. std.tuple has alias this to a compiler-tuple.

this is the same as any other function call. compiler-tuples can expand to argument lists.

--
October 05, 2022
https://issues.dlang.org/show_bug.cgi?id=21913

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |nick@geany.org
         Resolution|---                         |FIXED

--- Comment #2 from Nick Treleaven <nick@geany.org> ---
Fixed (in https://github.com/dlang/dlang.org/pull/3204): https://dlang.org/spec/statement.html#front-seq

--
October 05, 2022
https://issues.dlang.org/show_bug.cgi?id=21913

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |spec

--