On Tue, 08 Jun 2010 21:10:54 +0900, Masahiro Nakagawa wrote: > On Tue, 08 Jun 2010 19:39:43 +0900, Simen kjaeraas > <simen.kja...@gmail.com> wrote: > >> Simen kjaeraas <simen.kja...@gmail.com> wrote: >> >>> Lars T. Kyllingstad <pub...@kyllingen.nospamnet> wrote: >>> >>>> FWIW, I've run across the same error, while writing code that had >>>> nothing >>>> to do with tuples. And I've seen others complaining about it too. >>>> It seems to be a rather elusive bug in Phobos. >>> >>> This has now been tracked down to the importing of std.typecons in two >>> included files. >>> >>> Test case: >>> >>> ////////////////////// >>> module a; >>> import std.typecons; >>> alias Tuple!( float ) foo; >>> >>> ////////////////////// >>> module b; >>> import std.typecons; >> >> Forgot to mention, this only happens with -unittest. >> http://d.puremagic.com/issues/show_bug.cgi?id=4294 >> >> > Same issue? > http://d.puremagic.com/issues/show_bug.cgi?id=4003
Definitely. Simen's test case is slightly better, though, since it doesn't bring std.stdio into the mix. -Lars