www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1575] New: Cannot do assignment of tuples

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1575

           Summary: Cannot do assignment of tuples
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: bugzilla digitalmars.com


The following fails to compile:

template Tuple(T...)
{
    alias T Tuple;
}

alias Tuple!(int, long) TX

void foo(TX t)
{
    TX s;
    s = t;
}


-- 
Oct 11 2007
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1575


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed dmd 1.023


-- 
Nov 03 2007