Tuple to tuple conversion
Lars T. Kyllingstad
public at kyllingen.NOSPAMnet
Tue Jun 8 03:45:36 PDT 2010
On Tue, 08 Jun 2010 12:39:43 +0200, Simen kjaeraas wrote:
> Simen kjaeraas <simen.kjaras at gmail.com> wrote:
>
>> Lars T. Kyllingstad <public at 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
More information about the Digitalmars-d-learn
mailing list