On Tue, 08 Jun 2010 12:39:43 +0200, Simen kjaeraas 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
That's consistent with my experiences too. It seems to be triggered by a Phobos unittest. Still, I can't reproduce it with your test case. Which DMD version are you using? -Lars