projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add comments to "OPTIONS_GHC -fno-warn-orphans" pragmas
[ghc-hetmet.git]
/
libraries
/
bin-package-db
/
Distribution
/
InstalledPackageInfo
/
Binary.hs
diff --git
a/libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs
b/libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs
index
387b78f
..
af83148
100644
(file)
--- a/
libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs
+++ b/
libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs
@@
-1,5
+1,8
@@
{-# LANGUAGE RecordWildCards, TypeSynonymInstances, StandaloneDeriving, GeneralizedNewtypeDeriving #-}
{-# LANGUAGE RecordWildCards, TypeSynonymInstances, StandaloneDeriving, GeneralizedNewtypeDeriving #-}
-{-# OPTIONS_GHC -fno-warn-orphans -fno-warn-name-shadowing #-}
+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
+-- This module deliberately defines orphan instances for now. Should
+-- become unnecessary once we move to using the binary package properly:
+{-# OPTIONS_GHC -fno-warn-orphans #-}
-----------------------------------------------------------------------------
-- |
-- Module : Distribution.InstalledPackageInfo.Binary
-----------------------------------------------------------------------------
-- |
-- Module : Distribution.InstalledPackageInfo.Binary