[Issue 7297] New: allow explicit storage classes for delegate	parameters with inferred types
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Jan 15 09:17:40 PST 2012
    
    
  
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 at puremagic.com
        ReportedBy: timon.gehr at gmx.ch
--- Comment #0 from timon.gehr at gmx.ch 2012-01-15 09:17:39 PST ---
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: -------
    
    
More information about the Digitalmars-d-bugs
mailing list