on master help sign in
Fix build of tests under GHC 6.12.3
commitf362b7a91a7c43061feff769d936dae2118254d7 authorBryan O'Sullivan <bos@serpentine.com> dateWed 2 Nov 2011, 06:30 (15 years ago) parent20b2c7a
1 file changed+6−6
tests/tests/src/Data/Text/Tests/QuickCheckUtils.hs+6−6
tests/tests/src/Data/Text/Tests/QuickCheckUtils.hs+6−6
@@ -276,13 +276,13 @@ windowsNewlineMode = IO.NewlineMode
276276
277277-- Newline and NewlineMode have standard Show instance from GHC 7 onwards
278278#if __GLASGOW_HASKELL__ < 700
279−instance Show Newline where
280− show CRLF = "CRLF"
281− show LF = "LF"
279+instance Show IO.Newline where
280+ show IO.CRLF = "CRLF"
281+ show IO.LF = "LF"
282282
283−instance Show NewlineMode where
284− show (NewlineMode i o) = "NewlineMode { inputNL = " ++ show i ++
285− ", outputNL = " ++ show o ++ " }"
283+instance Show IO.NewlineMode where
284+ show (IO.NewlineMode i o) = "NewlineMode { inputNL = " ++ show i ++
285+ ", outputNL = " ++ show o ++ " }"
286286# endif
287287
288288instance Arbitrary IO.NewlineMode where