| Thread overview |
|---|
March 07, 2018 [Issue 18569] std.traits.moduleName problem with enum | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18569 --- Comment #1 from Claude <claudemr@live.fr> --- Actually it is not certain that is a Phobos problem, as replacing the moduleName template within std.traits by that reduced code: template moduleName(alias A) { // __traits(parent) returns "module modName" // so we just retreive "modName" enum moduleName = (__traits(parent, A).stringof)[7 .. $]; } ... leads to a wrong result (ignoring the fact package names are not prepended to the module name in that code of course, which is not the issue here anyway). -- | ||||
August 20, 2018 [Issue 18569] std.traits.moduleName problem with enum | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18569 Basile B. <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |b2.temp@gmx.com Hardware|x86_64 |All OS|Linux |All --- Comment #2 from Basile B. <b2.temp@gmx.com> --- Strange issue indeed. HAR on run.dlang.io with different symbol names also gives the same result ! https://run.dlang.io/is/VTCiI5 -- | ||||
August 20, 2018 [Issue 18569] std.traits.moduleName problem with enum | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18569 ag0aep6g <ag0aep6g@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ag0aep6g@gmail.com Resolution|--- |DUPLICATE --- Comment #3 from ag0aep6g <ag0aep6g@gmail.com> --- *** This issue has been marked as a duplicate of issue 14501 *** -- | ||||
March 21, 2020 [Issue 18569] std.traits.moduleName problem with enum | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18569 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|b2.temp@gmx.com | -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply