simonpj 2005/05/05 00:43:29 PDT
Modified files:
ghc/docs/users_guide glasgow_exts.xml
ghc/compiler/main HscTypes.lhs
ghc/compiler/parser Parser.y.pp
ghc/compiler/rename RnEnv.lhs RnSource.lhs
Log:
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.
Revision Changes Path
1.24 +8 -1 fptools/ghc/docs/users_guide/glasgow_exts.xml
1.135 +5 -0 fptools/ghc/compiler/main/HscTypes.lhs
1.30 +83 -78 fptools/ghc/compiler/parser/Parser.y.pp
1.195 +9 -4 fptools/ghc/compiler/rename/RnEnv.lhs
1.174 +7 -11 fptools/ghc/compiler/rename/RnSource.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc