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

Mathias LANG <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Mathias LANG <[email protected]> ---
It is infuriating that the following doesn't work:
```
struct Container
{
    ubyte[] value;

        this (inout(ubyte)[] arg) inout @safe pure nothrow @nogc
    {
        this.value = arg;   
    }
}

immutable ubyte[] Def = [42];
immutable Container Default = Container(Def);
```

--

Reply via email to