digitalmars.D.bugs - [Issue 6701] New: template specialization resolution failure
- d-bugmail puremagic.com (33/33) Sep 20 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6701
- d-bugmail puremagic.com (13/13) Jan 17 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6701
http://d.puremagic.com/issues/show_bug.cgi?id=6701 Summary: template specialization resolution failure Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: dawg dawgfoto.de void foo(uint v:0, string op)() { pragma(msg, "specialized"); } void foo(uint v, string op)() { pragma(msg, "unspecialized"); } void main() { foo!(0u, "+")(); } --- This will give a false error to be ambiguous. It happens due to unintended sharing of global state when creating dummy expressions during partial ordering. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 20 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6701 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED 14:51:16 PST --- https://github.com/D-Programming-Language/dmd/commit/4c038aefe424d8c5e75530b43da0c29226acfa99 https://github.com/D-Programming-Language/dmd/commit/75553e38303b94c953209546aa11b8b1d5461b01 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 17 2012