← Back to index
|
Original Bugzilla link
Bug 7297 – [tdpl] allow explicit storage classes for delegate parameters with inferred types
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-01-15T09:17:00Z
Last change time
2012-03-22T01:42:03Z
Keywords
rejects-valid, TDPL
Assigned to
nobody
Creator
timon.gehr
Comments
Comment #0
by timon.gehr — 2012-01-15T09:17:39Z
eg, the following code should compile: void main() { int x; ((ref a)=>a+=1)(x); x=((immutable a)=>a+1)(x); }
Comment #1
by timon.gehr — 2012-03-21T13:35:23Z
TDPL assumes this works on p.369. Raising from enhancement to TDPL bug.
Comment #2
by k.hara.pg — 2012-03-21T17:20:42Z
The test case works with 2.059head. It seems to me that this is a dup of bug 7705, and it is already fixed.
Comment #3
by timon.gehr — 2012-03-22T01:42:03Z
ok. *** This issue has been marked as a duplicate of issue 7705 ***