Thread overview | |||||
---|---|---|---|---|---|
|
January 04, 2022 [Issue 10013] `inout` constructor sometimes fails to create immutable object | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10013 Mathias LANG <pro.mathias.lang@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pro.mathias.lang@gmail.com --- Comment #2 from Mathias LANG <pro.mathias.lang@gmail.com> --- 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); ``` -- |
January 04, 2022 [Issue 10013] `inout` constructor sometimes fails to create immutable object | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10013 Mathias LANG <pro.mathias.lang@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexandru.ermicioi@gmail.co | |m --- Comment #3 from Mathias LANG <pro.mathias.lang@gmail.com> --- *** Issue 21170 has been marked as a duplicate of this issue. *** -- |
December 17, 2022 [Issue 10013] `inout` constructor sometimes fails to create immutable object | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10013 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P3 -- |
Copyright © 1999-2021 by the D Language Foundation