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

John Colvin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.loughran.colvin@gmail.
                   |                            |com

--- Comment #1 from John Colvin <[email protected]> ---
Another simpler case of this:

struct S
{
    //Error: not an associative array initializer
    D a = ["fdsa": ["fdsafd": "fdsfa"]];

    // OK
    D b = (["fdsa": ["fdsafd": "fdsfa"]]);
}

struct D
{
    this(string[string][string]) {}
}


Andre, perhaps putting brackets around it is a workaround for you as well?

--

Reply via email to