Fixed a bug in how the const keyword is handled in type declarations.