|
[GHC] #658: pragma documentation unclear on where to put pragmas: msg#00112lang.haskell.glasgow.bugs
#658: pragma documentation unclear on where to put pragmas ------------------------------+--------------------------------------------- Reporter: ijones | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Documentation | Version: 6.4.1 Severity: normal | Keywords: Os: Unknown | Difficulty: Easy (1 hr) Architecture: Unknown | ------------------------------+--------------------------------------------- In trying to understand [http://www.haskell.org/ghc/docs/latest/html/users_guide/pragmas.html the documentation on pragmas] I could not figure out where to place a pragma of the form: {{{ {-# DEPRECATED f, C, T "Don't use these" #-} }}} for instance, in Distribution.Setup.hs, I tried to add: {{{ {-# DEPRECATED CopyPrefix "Don't use this." #-} data CopyDest = NoCopyDest | CopyTo FilePath | CopyPrefix FilePath -- DEPRECATED deriving (Eq, Show) }}} but got the error: {{{ ./Distribution/Setup.hs:172:15: Not in scope: type constructor or class `CopyPrefix' }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/658> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [GHC] #657: add WARNING pragma, GHC |
|---|---|
| Next by Date: | Re: [GHC] #658: DEPRECATED doesn't work for data constructors, GHC |
| Previous by Thread: | [GHC] #657: add WARNING pragma, GHC |
| Next by Thread: | Re: [GHC] #658: DEPRECATED doesn't work for data constructors, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |