https://issues.dlang.org/show_bug.cgi?id=21808

Berni44 <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Position format specifiers  |std.format: It should be
                   |don't work for AAs          |possible to change the
                   |                            |order of key and value of
                   |                            |AAs.
           Severity|normal                      |enhancement

--- Comment #2 from Berni44 <[email protected]> ---
Changing this to "enhancement", because normal use of positional parameters has
a completely different meaning - it gives the position of an argument in the
function call and has nothing to do with the order of the elements of a single
argument.

Anyway, I see the need for the possibility to change the order; and positional
arguments don't make any sense inside of a compound specifier. Therefore I
think, it is OK to (ab)use them like suggested here. But then it's not a bug,
but an enhancement.

--

Reply via email to