Thread overview |
---|
February 24, 2008 [Issue 1867] New: lazy adds spurious const qualifier | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1867 Summary: lazy adds spurious const qualifier Product: D Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: andrei@metalanguage.com The following code does not compile and it should: T foo(T)(lazy T value) { return value; } void main() { foo(new float[1]); } -- |
March 07, 2008 [Issue 1867] lazy adds spurious const qualifier | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1867 andrei@metalanguage.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- |
March 07, 2008 [Issue 1867] lazy adds spurious const qualifier | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1867 ------- Comment #1 from bugzilla@digitalmars.com 2008-03-07 00:35 ------- Fixed dmd 2.012 -- |
Copyright © 1999-2021 by the D Language Foundation