[Issue 7048] New: Problem with out fixed-sized matrix

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 2 01:44:21 PST 2011


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

           Summary: Problem with out fixed-sized matrix
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2011-12-02 01:43:16 PST ---
void foo(out int[2][2] n) {}
void main() {
    int[2][2] m;
    foo(m);
}


DMD 2.057head:

test.d(1): Error: cannot implicitly convert expression (0) of type int to
int[2u][]

-- 
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