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
--
Simen