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

--- Comment #7 from Andrei Alexandrescu <[email protected]> ---
(In reply to Adam D. Ruppe from comment #6)
> 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.

Cool variant, thanks.

--

Reply via email to