Error: cannot modify struct instance ... of type ... because it contains `const` or `immutable` members
This is considered a modification? ```d struct S { const(int) a; } S[string] test; test["a"] = S(1); ``` Whats the workaround for that?
Error: cannot modify struct instance ... of type ... because it contains `const` or `immutable` members
This is considered a modification? ```d struct S { const(int) a; } S[string] test; test["a"] = S(1); ``` Whats the workaround for that?