digitalmars.D.bugs - [Issue 2711] New: -H produces bad headers files if function defintion is templated and have auto return value
- d-bugmail puremagic.com (29/29) Mar 06 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2711
- d-bugmail puremagic.com (15/15) Mar 06 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2711
- d-bugmail puremagic.com (9/9) Apr 01 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2711
http://d.puremagic.com/issues/show_bug.cgi?id=2711 Summary: -H produces bad headers files if function defintion is templated and have auto return value Product: D Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: baryluk smp.if.uj.edu.pl auto c(T)(T x) { return x; } // D import file generated from 'header.d' template c(T) { c(T x) { return x; } } Currenly std/math.d function abs in phobos have problem. --
Mar 06 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2711 Simpler example (without templates): auto c(int x) { return 5; } // D import file generated from 'header2.d' c(int x) { return 5; } --
Mar 06 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2711 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed DMD 1.042 and 2.027 --
Apr 01 2009