Invariant -- question #2

Jarrett Billingsley jarrett.billingsley at gmail.com
Tue Oct 21 11:51:57 PDT 2008


On Tue, Oct 21, 2008 at 1:48 PM, ore-sama <spam at here.lot> wrote:
> Jarrett Billingsley Wrote:
>
>> I can't find anything about it in the changelog
>
> http://www.digitalmars.com/d/2.0/features2.html
>

No, in D1, not in D2.  The syntax in D1 used to be invariant {},
without the parens.  The D1 compiler now accepts either the old syntax
or the new syntax, and the spec only shows the new syntax, but I don't
remember it ever being mentioned.



More information about the Digitalmars-d mailing list