[Issue 8702] New: tuple(tuple(1)) fails to compile, but tuple(tuple(1), 1) works

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 20 16:08:28 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8702

           Summary: tuple(tuple(1)) fails to compile, but
                    tuple(tuple(1),1) works
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: thelastmammoth at gmail.com


--- Comment #0 from thelastmammoth at gmail.com 2012-09-20 16:09:21 PDT ---
inconsistent:
auto a1=tuple(tuple(1));//CT error
auto a2=tuple(tuple(1),1);//works

bug?

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


More information about the Digitalmars-d-bugs mailing list