[Issue 4302] Regression(2.046, 1.061): compiler errors using startsWith in CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 22 12:53:19 PDT 2010


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



--- Comment #6 from Don <clugdbug at 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 similar.

I think you're right. Maybe it should not be added, if it is only instantiated
in an "is" expression (rather using "static if" as the criterion). But that
might make compile times blow out, if an is() occurs in a loop.
That may be the root cause of bug 4269 and bug 3996, as well.

-- 
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