Thread overview | |||||
---|---|---|---|---|---|
|
October 13, 2022 [Issue 15347] error message for converting return value with ctor/dtor is horrible | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15347 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com --- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> --- The destructor one has been fixed so that compiler internals are not spilled out anymore: "cannot implicitly convert expression (S(x)) of type S!int to immutable(S!int)". However, the constructor one still outputs `S(null).this(x)`. That is mainly because that is what the compiler rewrites `S(x)` so that it is processed as a method call. Not sure if this could be improved. -- |
December 17, 2022 [Issue 15347] error message for converting return value with ctor/dtor is horrible | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15347 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 -- |
December 13 [Issue 15347] error message for converting return value with ctor/dtor is horrible | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15347 --- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19070 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation