DMD 1.038 and 2.022 releases
Walter Bright
newshound1 at digitalmars.com
Mon Dec 15 10:22:52 PST 2008
Bill Baxter wrote:
> On Mon, Dec 15, 2008 at 7:07 PM, Walter Bright
> <newshound1 at digitalmars.com> wrote:
>> Are you using a lot of templates and recursive imports?
>
> A lot of templates, yes. A lot of recursive imports, I don't think
> so. Is there an easy way to see if I have recursive imports? I
> usually try to make my imports tree-like, but it's possible I may have
> some unintentional import cycles.
I don't know of an easy way to tell. The reason I ask is because modules
that recursively import themselves will wind up doing a lot more
template instantiations because the compiler can't tell which module
will instantiate an external template reference. (Change in this
behavior fixes a bug.)
More information about the Digitalmars-d-announce
mailing list