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: nob...@puremagic.com ReportedBy: clugd...@yahoo.com.au --- Comment #0 from Don <clugd...@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: -------