digitalmars.D.bugs - [Issue 6712] New: .init wrong when multiple functions declare the same typedef
- d-bugmail puremagic.com (28/28) Sep 22 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6712
- d-bugmail puremagic.com (11/11) Jan 21 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6712
http://d.puremagic.com/issues/show_bug.cgi?id=6712 Summary: .init wrong when multiple functions declare the same typedef Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: clugdbug yahoo.com.au --- Comment #0 from Don <clugdbug yahoo.com.au> 2011-09-22 00:54:03 PDT --- Found when cleaning up the DMD test suite. void firsttypedef() { typedef int myint = 3; } void secondtypedef() { typedef int myint = 7; static assert(myint.init == 7); } test.d(9): Error: static assert (cast(myint)3 == 7) is false -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 22 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6712 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla digitalmars.com Version|D1 & D2 |D1 --- Comment #1 from Walter Bright <bugzilla digitalmars.com> 2012-01-21 00:19:31 PST --- Won't fix for D2, as typedef is deprecated. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 21 2012