#340: Deprecate RecordPuns and translate NamedFieldPuns for older ghc ----------------------------+----------------------------------------------- Reporter: duncan | Owner: Type: enhancement | Status: closed Priority: normal | Milestone: Cabal-1.6 Component: Cabal library | Version: HEAD Severity: normal | Resolution: fixed Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * status: new => closed * resolution: => fixed Comment: {{{ Mon Dec 8 17:53:37 GMT 2008 Duncan Coutts <duncan@haskell.org> * Add a list of deprecated extenstions Along with possibly another extension that replaces it. Mon Dec 8 17:54:41 GMT 2008 Duncan Coutts <duncan@haskell.org> * Check for use of deprecated extensions Mon Dec 8 18:00:18 GMT 2008 Duncan Coutts <duncan@haskell.org> * Fake support for NamedFieldPuns in ghc-6.8 Implement it in terms of the -XRecordPuns which was accidentally added in ghc-6.8 and deprecates in 6.10 in favor of NamedFieldPuns So this is for compatability so we can tell package authors always to use NamedFieldPuns instead. }}} The last patch is also in the Cabal-1.6 branch so will appear in 1.6.0.2. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/340#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects