CTFE in imported static initializers
kinke
noone at nowhere.com
Tue May 14 19:06:49 UTC 2019
On Tuesday, 14 May 2019 at 10:21:23 UTC, Steven Schveighoffer
wrote:
> I too am out of my league when it comes to what's valid here ;)
Valid or not, 1 second is ridiculous, please file a bug. For an
importing module, it's just an external TLS global. As you
mentioned, type inference shouldn't need a full evaluation of the
initializer, but that's not the problem, as `static string
moddata = buildModData();` doesn't improve anything.
More information about the Digitalmars-d-learn
mailing list