Walter Bright, el 12 de mayo a las 10:59 me escribiste: > The Anh Tran wrote: > >So immutable is an alias of invariant? > >D now has 3 keywords that have somewhat similar meaning: const invariant > >immutable. > > By popular demand, the invariant keyword was replaced with immutable. > Invariant will eventually go away.
Better sooner than later. At least it would be nice if a deprecation warning is issued if invariant is used when immutable should go. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ----------------------------------------------------------------------------