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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 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: -------