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

           Summary: [REG][2.063] Implicit pointer to array dereference for
                    .ptr property fails
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: monarchdo...@gmail.com


--- Comment #0 from monarchdo...@gmail.com 2013-07-04 01:39:36 PDT ---
-----------------------
void main()
{
    int[2][2] a;
    int* p1 = a.ptr.ptr;    //error
    int* p2 = (*a.ptr).ptr; //OK
}
-----------------------

2.063 and 2.063.2 produce:
Error: cannot resolve type for &(*& a)[0]

This used to work up to 2.062.

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

Reply via email to