incorrect deprecation warning
Peter Hercek
phercek at gmail.com
Mon Mar 29 09:54:58 EDT 2010
Hi,
I got this deprecation warning:
Warning: Module `GHC.Handle' is deprecated:
use GHC.IO.Handle.Base instead
But I think it should have been:
Warning: Module `GHC.Handle' is deprecated:
use GHC.IO.Handle instead
There is no GHC.IO.Handle.BAse in my installation of GHC 6.12.1.
The problem (it it was not intended) is there in the current head too:
~/haskell/ghc.head/libraries/base 836> darcs what -u
hunk ./GHC/Handle.hs 18
-- #hide
-module GHC.Handle {-# DEPRECATED "use GHC.IO.Handle.Base instead" #-} (
+module GHC.Handle {-# DEPRECATED "use GHC.IO.Handle instead" #-} (
withHandle, withHandle', withHandle_,
wantWritableHandle, wantReadableHandle, wantSeekableHandle,
~/haskell/ghc.head/libraries/base 837>
More information about the Glasgow-haskell-users
mailing list