[Issue 1460] Compiler crash on valid code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 1 12:26:21 PDT 2007


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





------- Comment #1 from bugzilla at digitalmars.com  2007-09-01 14:26 -------
I'll fix the crashing problem, but the resulting code still won't work. That's
because the template arguments are evaluated before trying to match them up
with a template. That means the const declaration of s is replaced with a
struct literal S(1). Struct literals don't match aliases.


-- 



More information about the Digitalmars-d-bugs mailing list