DMD 1.011 release
Walter Bright
newshound1 at digitalmars.com
Wed Apr 11 02:30:04 PDT 2007
Kirk McDonald wrote:
> From the changelog:
>
> * final for variables now works.
>
> What does this do? I didn't see anything in an obvious place in the spec
> explaining it.
It's the first part of the final/const/invariant thing. No documentation
is written on it yet. All final is is that if you declare a variable as
final, you can only initialize it. It cannot be reassigned.
> Also, I have updated the keyword index:
> http://www.prowiki.org/wiki4d/wiki.cgi?LanguageSpecification/KeywordIndex
Thank-you.
More information about the Digitalmars-d-announce
mailing list