Don <> changed:

           What    |Removed                     |Added
                 CC|                            |
            Version|D1                          |D1 & D2

--- Comment #3 from Don <> 2010-10-01 07:37:57 PDT ---
(In reply to comment #1)
> They're deprecated in D2.

I hope that will happen, but so far it hasn't. They are still in the spec.

> I think D1 has them documented.
> Maybe should mark this as INVALID.

They are documented in D2, in struct.html. It says:

"The static initializer syntax can also be used to initialize non-static
variables, provided that the member names are not given. The initializer need
not be evaluatable at compile time."

But in DMD, ever since CTFE was introduced, it must be evaluatable at compile
time. The implementation is also full of bugs. For example, see bug 3271.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to