on master help sign in
Fix build of tests under GHC 6.12.3
f362b7aBryan O'Sullivan
tests/tests/src/Data/Text/Tests/QuickCheckUtils.hs+6−6
@@ -276,13 +276,13 @@ windowsNewlineMode = IO.NewlineMode
276
276
277-- Newline and NewlineMode have standard Show instance from GHC 7 onwards
277-- Newline and NewlineMode have standard Show instance from GHC 7 onwards
278#if __GLASGOW_HASKELL__ < 700
278#if __GLASGOW_HASKELL__ < 700
279−instance Show Newline where
279+instance Show IO.Newline where
280− show CRLF = "CRLF"
280+ show IO.CRLF = "CRLF"
281− show LF = "LF"
281+ show IO.LF = "LF"
282
282
283−instance Show NewlineMode where
283+instance Show IO.NewlineMode where
284− show (NewlineMode i o) = "NewlineMode { inputNL = " ++ show i ++
284+ show (IO.NewlineMode i o) = "NewlineMode { inputNL = " ++ show i ++
285− ", outputNL = " ++ show o ++ " }"
285+ ", outputNL = " ++ show o ++ " }"
286# endif
286# endif
287
287
288instance Arbitrary IO.NewlineMode where
288instance Arbitrary IO.NewlineMode where