http://d.puremagic.com/issues/show_bug.cgi?id=8888
Andrej Mitrovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] OS/Version|Windows |All --- Comment #5 from Andrej Mitrovic <[email protected]> 2012-11-19 02:05:59 PST --- Related bug: unittest { enum En8143 : int { A = 10, B = 20, C = 30, D = 20 } enum En8143[][] m3 = to!(En8143[][])([[10, 30], [30, 10]]); static assert(m3 == [[En8143.A, En8143.C], [En8143.C, En8143.A]]); } This breaks both the win32 and posix linkers. The following fixes the win32 linker, but it doesn't fix the posix linker: version(unittest) { enum En8143 : int { A = 10, B = 20, C = 30, D = 20 } enum En8143[][] m3 = to!(En8143[][])([[10, 30], [30, 10]]); static assert(m3 == [[En8143.A, En8143.C], [En8143.C, En8143.A]]); } unittest { // ... } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
