Tuple to tuple conversion
    Simen kjaeraas 
    simen.kjaras at gmail.com
       
    Tue Jun  8 03:39:43 PDT 2010
    
    
  
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
-- 
Simen
    
    
More information about the Digitalmars-d-learn
mailing list