Permalink
Browse files

Fix a warning.

  • Loading branch information...
1 parent e24e2db commit 997a8d505542f5bca1d6cddfcb0394e4ddc9cd13 @23Skidoo 23Skidoo committed Feb 9, 2014
Showing with 3 additions and 1 deletion.
  1. +3 −1 Cabal/tests/PackageTests/OrderFlags/Check.hs
@@ -4,8 +4,10 @@ import Test.HUnit
import PackageTests.PackageTester
import System.FilePath
import Control.Exception
-import Prelude hiding (catch)
+#if !MIN_VERSION_base(4,6,0)
+import Prelude hiding (catch)
+#endif
suite :: FilePath -> Test
suite ghcPath = TestCase $ do

0 comments on commit 997a8d5

Please sign in to comment.