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

           Summary: IFTI and polymorphic string literal should support
                    implicit conversion to static array type
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Kenji Hara <[email protected]> 2013-03-18 01:52:58 PDT ---
Sample code:

void main()
{
    void testc()(ref immutable char[4] str) { }
    testc("1234");  // works, OK

    void testw()(ref immutable wchar[4] str) { }
    testw("1234");  // should work, but doesn't
}

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

Reply via email to