September 20, 2011 [Issue 6701] New: template specialization resolution failure | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from dawg@dawgfoto.de 2011-09-20 11:10:34 PDT --- 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: ------- |
January 17, 2012 [Issue 6701] template specialization resolution failure | ||||
---|---|---|---|---|
| ||||
Posted in reply to dawg@dawgfoto.de | 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 --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2012-01-17 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: ------- |
Copyright © 1999-2021 by the D Language Foundation