[Issue 18422] String members and parameters cannot be mixed in, even during CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 12 01:47:30 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18422

Adam D. Ruppe <destructionator at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |destructionator at gmail.com

--- Comment #6 from Adam D. Ruppe <destructionator at gmail.com> ---
Why doesn't:

enum Data[] d = getModule!("mypack.mymod").data;


work? Where getModule is a small template that just returns the populated
Module object with the CT data.

--


More information about the Digitalmars-d-bugs mailing list