Skip to content

Commit 9cf1d9a

Browse files
robxphadej
authored andcommitted
Fix tests for new GHC (hide Prelude.<>)
1 parent 3d36a54 commit 9cf1d9a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Diff for: tests/Test.hs

+5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
-- 3) Testing bug fixes (whitebox)
1212
--
1313
-----------------------------------------------------------------------------
14+
15+
#if __GLASGOW_HASKELL__ >= 803
16+
import Prelude hiding ( (<>) )
17+
#endif
18+
1419
import PrettyTestVersion
1520
import TestGenerators
1621
import TestStructures

Diff for: tests/TestStructures.hs

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ module TestStructures (
1212
text', annotToTd, tdToStr, genericCProp
1313
) where
1414

15+
#if __GLASGOW_HASKELL__ >= 803
16+
import Prelude hiding ( (<>) )
17+
#endif
18+
1519
import PrettyTestVersion
1620

1721
data CDoc = CEmpty -- empty

0 commit comments

Comments
 (0)