Thread overview
[Issue 12787] can't nest associative arrays and arrays
May 22, 2014
Vlad Levenfeld
May 22, 2014
Vlad Levenfeld
May 22, 2014
Vlad Levenfeld
Jun 19, 2014
Kenji Hara
May 22, 2014
https://issues.dlang.org/show_bug.cgi?id=12787

Vlad Levenfeld <vlevenfeld@gmail.com> changed:

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

--
May 22, 2014
https://issues.dlang.org/show_bug.cgi?id=12787

Vlad Levenfeld <vlevenfeld@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid

--
May 22, 2014
https://issues.dlang.org/show_bug.cgi?id=12787

bearophile_hugs@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs@eml.cc

--- Comment #1 from bearophile_hugs@eml.cc ---
Probably this is already reported in another Bugzilla issue.

This is a workaround until this problem gets fixed:

void main() {
    int[][char][][] a1 = [
        [
            ['a':[1,2,3],'b':[2,3,4],'c':[3,4,5]],
            ['d':[6,7,8],'e':[7,8,9]]
        ],
        [
            ['a':[1,2,3],'b':[2,3,4],'c':[3,4,5]],
            ['d':[6,7,8],'e':[7,8,9]]
        ]
    ];

    int[][char][][int] a2 = cast()[
        1000:[
            ['a':[1,2,3],'b':[2,3,4],'c':[3,4,5]],
            ['d':[6,7,8],'e':[7,8,9]]
        ],
        2000:[
            ['a':[1,2,3],'b':[2,3,4],'c':[3,4,5]],
            ['d':[6,7,8],'e':[7,8,9]]
        ]
    ];
}

--
May 22, 2014
https://issues.dlang.org/show_bug.cgi?id=12787

--- Comment #2 from Vlad Levenfeld <vlevenfeld@gmail.com> ---
you rock!

--
June 19, 2014
https://issues.dlang.org/show_bug.cgi?id=12787

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> ---


*** This issue has been marked as a duplicate of issue 6469 ***

--