← Back to index
|
Original Bugzilla link
Bug 1867 – lazy adds spurious const qualifier
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2008-02-24T17:43:00Z
Last change time
2015-06-09T05:15:01Z
Assigned to
bugzilla
Creator
andrei
Comments
Comment #0
by andrei — 2008-02-24T17:43:48Z
The following code does not compile and it should: T foo(T)(lazy T value) { return value; } void main() { foo(new float[1]); }
Comment #1
by bugzilla — 2008-03-07T00:35:07Z
Fixed dmd 2.012