www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7297] New: allow explicit storage classes for delegate parameters with inferred types

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7297

           Summary: allow explicit storage classes for delegate parameters
                    with inferred types
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: timon.gehr gmx.ch



eg, the following code should compile:
void main() {
    int x;
    ((ref a)=>a+=1)(x);
    x=((immutable a)=>a+1)(x);
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 15 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7297


timon.gehr gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid, TDPL
            Summary|allow explicit storage      |[tdpl] allow explicit
                   |classes for delegate        |storage classes for
                   |parameters with inferred    |delegate parameters with
                   |types                       |inferred types
           Severity|enhancement                 |normal



TDPL assumes this works on p.369. Raising from enhancement to TDPL bug.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 21 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7297




The test case works with 2.059head.
It seems to me that this is a dup of bug 7705, and it is already fixed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 21 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7297


timon.gehr gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE



ok.

*** This issue has been marked as a duplicate of issue 7705 ***

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