Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix build of tests under GHC 6.12.3

  • Loading branch information...
commit f362b7a91a7c43061feff769d936dae2118254d7 1 parent 20b2c7a
@bos authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 tests/tests/src/Data/Text/Tests/QuickCheckUtils.hs
View
12 tests/tests/src/Data/Text/Tests/QuickCheckUtils.hs
@@ -276,13 +276,13 @@ windowsNewlineMode = IO.NewlineMode
-- Newline and NewlineMode have standard Show instance from GHC 7 onwards
#if __GLASGOW_HASKELL__ < 700
-instance Show Newline where
- show CRLF = "CRLF"
- show LF = "LF"
+instance Show IO.Newline where
+ show IO.CRLF = "CRLF"
+ show IO.LF = "LF"
-instance Show NewlineMode where
- show (NewlineMode i o) = "NewlineMode { inputNL = " ++ show i ++
- ", outputNL = " ++ show o ++ " }"
+instance Show IO.NewlineMode where
+ show (IO.NewlineMode i o) = "NewlineMode { inputNL = " ++ show i ++
+ ", outputNL = " ++ show o ++ " }"
# endif
instance Arbitrary IO.NewlineMode where
Please sign in to comment.
Something went wrong with that request. Please try again.