[Issue 4960] dmd 2.049 rejects code containing templates with a uint as template parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 1 02:01:09 PDT 2010


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



--- Comment #3 from CaptainSifff at web.de 2010-10-01 02:00:22 PDT ---
I agree, your issue sounds similar,
but in contrast to your code where there might be a slight difference between
the 
types because the template takes an uint and you instantiate it with an int
literal, my example uses uints exclusively and the parameter dimension is typed
as an uint. So, there should be no reason for ambiguity...
I just tested your programs and they compiled with dmd 2.049...
Whereas changing austins example to using int doesn't lead to an compiling
program...
Essentially I don't get what's going wrong now...

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