Mercurial > projects > ldc
view lphobos/typeinfos2.d @ 1530:05c235309d6f
Make the auto storage class never have the same meaning as scope.
This changes the meaning of
auto class MyClass {} and
auto MyClass ident;
Both have been made an error to prevent accidents.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 12 Jul 2009 16:15:21 +0200 |
parents | 288fe1029e1f |
children |
line wrap: on
line source
module typeinfos2; import typeinfo2.ti_AC, typeinfo2.ti_Adouble, typeinfo2.ti_Afloat, typeinfo2.ti_Ag, typeinfo2.ti_Aint, typeinfo2.ti_Along, typeinfo2.ti_Areal, typeinfo2.ti_Ashort, typeinfo2.ti_C;