[Issue 5207] Immutability is broken in constructors
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 19 07:41:45 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=5207
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |razvan.nitu1305 at gmail.com
Resolution|--- |WONTFIX
--- Comment #4 from RazvanN <razvan.nitu1305 at gmail.com> ---
There is nothing wrong this code. Variables are default initialized so it is up
to the user to use the variable inside the constructor however he pleases (this
includes using the variable with the default initialized value). This is not
going to change.
Closing as WONTFIX.
--
More information about the Digitalmars-d-bugs
mailing list