Thread overview
[Issue 4846] New: A problem with array of std.typecons.Tuple
September 09, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4846

           Summary: A problem with array of std.typecons.Tuple
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: bearophile_hugs@eml.cc


--- Comment #0 from bearophile_hugs@eml.cc 2010-09-09 12:53:54 PDT ---
import std.typecons: Tuple;
alias Tuple!(int) Foo;
auto data = [Foo(1)];
void main() {}


DMD 2.048 shows:
Error: duplicate union initialization for _0

Additionally, there is no line number for the error.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 07, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4846


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei@metalanguage.com
         AssignedTo|nobody@puremagic.com        |andrei@metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 30, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4846


bearophile_hugs@eml.cc changed:

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


--- Comment #1 from bearophile_hugs@eml.cc 2010-10-29 17:08:23 PDT ---
Fixed in dmd 2.050

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------