Add comments to "OPTIONS_GHC -fno-warn-orphans" pragmas
authorIan Lynagh <igloo@earth.li>
Sat, 5 Dec 2009 16:57:21 +0000 (16:57 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 5 Dec 2009 16:57:21 +0000 (16:57 +0000)
libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs

index 387b78f..af83148 100644 (file)
@@ -1,5 +1,8 @@
 {-# 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