Thread overview | ||||||
---|---|---|---|---|---|---|
|
March 06, 2018 [Issue 18563] context pointer inside structs constness problems | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18563 Ketmar Dark <ketmar@ketmar.no-ip.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ketmar@ketmar.no-ip.org -- |
July 19, 2018 [Issue 18563] context pointer inside structs constness problems | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18563 Timoses <timosesu@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |timosesu@gmail.com --- Comment #1 from Timoses <timosesu@gmail.com> --- Related: https://forum.dlang.org/post/rxolioihwfrljpfjfmxw@forum.dlang.org // dmd v2.081.1 unittest { struct S { uint value; ~this() pure { } } S makeS() pure { S s = S(); return s; } // Error: cannot implicitly convert expression makeS() of type S to immutable(S) immutable S s = makeS(); } Without the destructor compiles fine. Perhaps a better error message could be found. Further related issue: https://issues.dlang.org/show_bug.cgi?id=18567 -- |
December 17, 2022 [Issue 18563] context pointer inside structs constness problems | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18563 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P4 -- |
December 13 [Issue 18563] context pointer inside structs constness problems | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18563 --- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19404 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation