Bug 10539 – [REG][2.063] Implicit pointer to array dereference for .ptr property fails
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-07-04T01:39:00Z
Last change time
2013-07-04T18:21:13Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
monarchdodra
Comments
Comment #0 by monarchdodra — 2013-07-04T01:39:36Z
-----------------------
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.