On 5/14/19 8:06 PM, kinke wrote:
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.

OK, now that I have a compiler developer agreeing, I feel more comfortable filing ;)

-Steve

Reply via email to