[Issue 1170] Cannot forward reference a type defined in a MixinStatement
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 13 15:04:28 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1170
Eldar Insafutdinov <e.insafutdinov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |e.insafutdinov at gmail.com
--- Comment #6 from Eldar Insafutdinov <e.insafutdinov at gmail.com> 2009-10-13 15:04:26 PDT ---
(In reply to comment #5)
> As it seems, a patch has crawled into DMD 2.033 that is supposed to fix the
> second issue described in comment 1. This is line 887 in module.c (in dmd
> 2.034)
>
> else if (searchCacheIdent == ident && searchCacheFlags == flags &&
> searchCacheSymbol)
>
> where searchCacheSymbol has been added to allow finding symbols that have been
> added after the last search.
>
> Though this fixes the issue, it has a bad impact on identifier lookup time,
> especially with a lot of imports, worst with cyclic imports. This is because
> with this change, not finding an identifier is always expensive, but it is the
> most common result.
>
> This has now shown up with qtd causing the build to lock-up with continuously
> searching identifiers. I'd still suggest a change along the lines of the patch
> posted in this issue.
The applied patch in rev. 205 brought QtD back to life.
Thank you.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list