digitalmars.D.bugs - [Issue 5693] New: Problem with address of template struct opCall
- d-bugmail puremagic.com (30/30) Mar 03 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5693
- d-bugmail puremagic.com (12/12) Jun 26 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5693
http://d.puremagic.com/issues/show_bug.cgi?id=5693 Summary: Problem with address of template struct opCall Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: ice-on-invalid-code Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc struct Foo { void opCall(T)() {} } void main() { auto x = &Foo(); } DMD 2.052 shows: test.d(5): Error: template test.Foo.opCall(T) does not match any function template declaration test.d(5): Error: template test.Foo.opCall(T) cannot deduce template function from argument types !()() And then dmd crashes. (I am not sure the keyword below is correct.) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 03 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5693 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED 17:31:37 PDT --- https://github.com/D-Programming-Language/dmd/commit/766ff55baceec3a8d00d23ece02ff4aadc6b9209 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 26 2011