[project @ 2005-05-05 07:43:28 by simonpj]
authorsimonpj <unknown>
Thu, 5 May 2005 07:43:29 +0000 (07:43 +0000)
committersimonpj <unknown>
Thu, 5 May 2005 07:43:29 +0000 (07:43 +0000)
commit192c9dd5f5d87ad52253bed53d9ff39db8b71439
tree949d703bad0e3aeb24bca822c2c5e5b8e922f134
parentc860b7f83ccc639960e8baacfbcc1d35fbd9ffbb
[project @ 2005-05-05 07:43:28 by simonpj]
Make it so that you can deprecate a data constructor.
Previously {-# DEPRECATED T "no" #-} referred only to the type
or class T.  Now it refers to the data constructor T as well,
just like in fixity declarations.

There's no way to deprecate the data constructor T without also
deprecating the type T, alas.  Same problem in fixity decls.
Main problem is coming up with a suitable concrete syntax to do
so.

We could consider merging this to the STABLE branch.

NB: Sven, the manual fixes are not XML-valideated!  I'm at home.
ghc/compiler/main/HscTypes.lhs
ghc/compiler/parser/Parser.y.pp
ghc/compiler/rename/RnEnv.lhs
ghc/compiler/rename/RnSource.lhs
ghc/docs/users_guide/glasgow_exts.xml