bearophile wrote:
Gide Nwawudu:Not sure the following code works for me. invariant int x = 3; void main() { }And now it's better to start using "immutable" instead of "invariant" that is probably deprecated.
Why would invariant be deprecated before there's any documentation on the meaning of immutable?
Stewart.