May 02, 2014 [Issue 10482] Regression (2.063): Compiler doesn't warn about prefix const | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10482 --- Comment #9 from Andrej Mitrovic <andrej.mitrovich@gmail.com> --- Another case from the IRC by someone new to D: ----- import std.stdio; int hidden[4]; ref const int[4] getConstHidden() { return hidden; } void main() { writeln(hidden); foreach (ref i; getConstHidden()) i = 1; writeln(hidden); } ----- This needs to be fixed. -- |
October 04, 2014 [Issue 10482] Regression (2.063): Compiler doesn't warn about prefix const | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10482 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #10 from Kenji Hara <k.hara.pg@gmail.com> --- I opened identical issue 12967, and it has been fixed in 2.066. *** This issue has been marked as a duplicate of issue 12967 *** -- |
Copyright © 1999-2021 by the D Language Foundation