[Issue 7557] Sea of errors after template failure
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 21 11:55:33 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7557
--- Comment #2 from Don <clugdbug at yahoo.com.au> 2012-02-21 11:55:31 PST ---
(In reply to comment #1)
> Is this the same problem where an error in one module causes errors in
> completely different modules (e.g. Phobos)?
I don't think so. This is one is very simple, it's not a module order
dependency, it's a failure to run semantic at all.
But, it'
Here is case b. Different symptoms, same root cause. The static assert should
be triggered, despite the error in the enum declaration:
-------------
struct W
{
void blaz(T)() {static assert(0); }
}
void main()
{
enum int blah = "abc";
W m;
m.blaz!(int)();
}
--
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