DEPRECATED not re-exported

Simon Peyton-Jones simonpj at microsoft.com
Mon Jan 5 03:52:44 EST 2004


OK.. I've done something which is easy to implement, namely to make it
so that the export list does not "count" for reporting deprecations.

Simon

| -----Original Message-----
| From: Sven Panne [mailto:Sven.Panne at aedion.de]
| Sent: 02 January 2004 21:04
| To: Simon Peyton-Jones
| Cc: GHC Bugs
| Subject: Re: DEPRECATED not re-exported
| 
| Simon Peyton-Jones wrote:
| > I agree.  Your message caught me at a moment when I needed some
| > displacement activity, so I've implemented a fix.  [...]
| 
| I hope you need more displacement activity. :-) The fix makes things
| better, but not yet optimal: Warnings are issued for whole module
| re-exports now, e.g.
| 
| [...]
| Foreign/Marshal.hs:28:0:
|      Warning: Deprecated use of  `withObject'
|               (imported from Foreign.Marshal.Utils)
|               use `with' instead
| [...]
| Foreign.hs:39:0:
|      Warning: Deprecated use of  `withObject'
|               (imported from Foreign.Marshal, but defined in
Foreign.Marshal.Utils)
|               use `with' instead
| [...]
| 
| Cheers,
|     S.



More information about the Glasgow-haskell-bugs mailing list