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

           Summary: Cannot use tuple foreach arguments in an array literal
           Product: D
           Version: 1.017
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: clugd...@yahoo.com.au


This is the second bug report in bug #1298, which is completely unrelated to
the first one.
----
template Foo(Strings...)
{
    const a2 = [Strings]; 
}

alias Foo!("one", "two") foo;

// Error: cannot implicitly convert expression (tuple("one","two")) of type
(char[3], char[3]) to char

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

Reply via email to