https://issues.dlang.org/show_bug.cgi?id=4302
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Version|D1 D2 |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=4302
klickverbot c...@klickverbot.at changed:
What|Removed |Added
CC||c...@klickverbot.at
http://d.puremagic.com/issues/show_bug.cgi?id=4302
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=4302
--- Comment #6 from Don clugd...@yahoo.com.au 2010-08-22 12:53:11 PDT ---
(In reply to comment #5)
Or maybe even simpler: it's probably not necessary to add the template as a
member to the module if it is instantiated in a static if or
http://d.puremagic.com/issues/show_bug.cgi?id=4302
--- Comment #7 from Rainer Schuetze r.sagita...@gmx.de 2010-08-22 13:56:02
PDT ---
It seems to me that the module member list is not searched when looking for
existing template instantations, but templdecl-instances. The failed template
http://d.puremagic.com/issues/show_bug.cgi?id=4302
--- Comment #4 from Rainer Schuetze r.sagita...@gmx.de 2010-08-21 00:49:23
PDT ---
(In reply to comment #3)
The cause of the regression was this line at the end of
TemplateInstance::semantic()
around line 3980:
if (global.gag)
http://d.puremagic.com/issues/show_bug.cgi?id=4302
--- Comment #5 from Rainer Schuetze r.sagita...@gmx.de 2010-08-21 01:20:14
PDT ---
Or maybe even simpler: it's probably not necessary to add the template as a
member to the module if it is instantiated in a static if or similar.
--
Configure
http://d.puremagic.com/issues/show_bug.cgi?id=4302
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Version|D2 |D1 D2
http://d.puremagic.com/issues/show_bug.cgi?id=4302
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Keywords||patch
--- Comment #3 from