http://d.puremagic.com/issues/show_bug.cgi?id=6602



--- Comment #1 from klickverbot <c...@klickverbot.at> 2011-09-04 22:25:58 PDT 
---
Wish I had discovered that earlier, not just from a bugzilla reference in the
DMD source after I tracked the problem down: A very similar bug has already
been reported, issue 4302. However, the fix proposed there (which got committed
in e66a3a5) only hides the issue for static if conditionals, while it can also
appear if trySemantic() is attempted outside them, see above.

I think the correct solution for the problem is to remove the template instance
from the member list of the enclosing scope again if instantiation failed while
errors were gagged:

https://github.com/D-Programming-Language/dmd/pull/364

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to