http://d.puremagic.com/issues/show_bug.cgi?id=4294
Summary: Importing std.typecons in two modules while unittesting breaks program Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: simen.kja...@gmail.com --- Comment #0 from Simen Kjaeraas <simen.kja...@gmail.com> 2010-06-08 03:39:07 PDT --- ////////////////////// module a; import std.typecons; alias Tuple!( float ) foo; ////////////////////// module b; import std.typecons; ////////////////////// Compiling with "dmd a b -unittest" gives the following output: E:\DMD\DMD2\windows\bin\..\..\src\phobos\std\typecons.d(424): Error: static assert (is(Tuple!(string,float) == Tuple!(string,float))) is false E:\DMD\DMD2\windows\bin\..\..\src\phobos\std\typecons.d(413): instantiated from here: Tuple!(string,float) E:\DMD\DMD2\windows\bin\..\..\src\phobos\std\typecons.d(423): instantiated from here: slice!(1,3) E:\DMD\DMD2\windows\bin\..\..\src\phobos\std\typecons.d(420): instantiated from here: Tuple!(int,string,float,double) a.d(3): instantiated from here: Tuple!(float) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------