[Issue 14901] [reg 2.067/2.068] template static shared this() run multiple times with separate compilation
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Aug 11 04:14:13 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14901
--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Walter Bright from comment #2)
> The cause of this is not excessive instantiation, it is the fragile name
> generation system.
Yes, the ultimate root issue is it. But if the code for the instance make!"bar"
is generated and stored only in b.obj, the problem does not happen.
So, the regression from 2.067 is introduced by the excessive instantiation. The
issue should be fixed ASAP.
--
More information about the Digitalmars-d-bugs
mailing list