www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10539] New: [REG][2.063] Implicit pointer to array dereference for .ptr property fails

reply d-bugmail puremagic.com writes:
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: nobody puremagic.com
        ReportedBy: monarchdodra gmail.com


--- Comment #0 from monarchdodra 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: -------
Jul 04 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10539


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
            Version|unspecified                 |D2


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2013-07-04 02:09:56 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2296

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 04 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10539



--- Comment #2 from github-bugzilla puremagic.com 2013-07-04 13:24:51 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/99265ca322625f9d76f2fcc530c83845d5485b37
Issue 10539 - Implicit pointer to array dereference for .ptr property fails

https://github.com/D-Programming-Language/dmd/commit/c7e0c6ef1085ce74e373b6096d2af40c958e32ec
Merge pull request #2296 from 9rnsr/fix10539

[REG2.063] Issue 10539 - Implicit pointer to array dereference for .ptr
property fails

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 04 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10539


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 04 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10539



--- Comment #3 from github-bugzilla puremagic.com 2013-07-04 18:21:13 PDT ---
Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/7e86fd874a6acc0a4dcc1250f37d15b9dbf40b97
Merge pull request #2296 from 9rnsr/fix10539

[REG2.063] Issue 10539 - Implicit pointer to array dereference for .ptr
property fails
Conflicts:
    test/runnable/xtest46.d

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