Thread overview
[Issue 11637] Statically disallow sparse array literals and associative array literals with duplicate indexes
Jun 11, 2017
Nick Treleaven
Jun 11, 2017
Nick Treleaven
Jul 03, 2017
Vladimir Panteleev
Dec 17, 2022
Iain Buclaw
June 11, 2017
https://issues.dlang.org/show_bug.cgi?id=11637

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=15290

--
June 11, 2017
https://issues.dlang.org/show_bug.cgi?id=11637

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@geany.org

--- Comment #1 from Nick Treleaven <nick@geany.org> ---
Also, current behaviour is inconsistent with struct named member initialization:

struct S {
    int  a;
}

S s = { a: 2, a: -5 }; //Error: duplicate initializer for field 'a'

--
July 03, 2017
https://issues.dlang.org/show_bug.cgi?id=11637

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86                         |All
                 OS|Windows                     |All

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=11637

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

--