[Issue 2947] Array literal changeable if part of class.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Mar 19 08:13:09 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=2947

--- Comment #12 from Jakob Ovrum <jakobovrum at gmail.com> ---
(In reply to yebblies from comment #11)
> Well, you're wrong.  It should not be shared between class instances at all.

It would be consistent with every other static initializer in the language. If
you're going to take a stand please provide some kind of rationale, otherwise
surely the exercise is just meaningless noise.

--


More information about the Digitalmars-d-bugs mailing list