Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 720d292

Browse files
committed
Add special case for ghc 8.2.2
1 parent 9507dc6 commit 720d292

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/unit/GhcModPluginSpec.hs

+6
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,9 @@ ghcmodSpec =
478478
, (Range (toPos (33, 15)) (toPos (33, 19)), "Test -> String")
479479
, (Range (toPos (33, 15)) (toPos (33, 19)), "[Test] -> ShowS")
480480
, (Range (toPos (33, 15)) (toPos (33, 19)), "Int -> Test -> ShowS")
481+
#if __GLASGOW_HASKELL__ < 840
482+
, (Range (toPos (33, 15)) (toPos (33, 19)), "[Test] -> ShowS")
483+
#endif
481484
]
482485
testCommand testPlugins act "ghcmod" "type" arg res
483486

@@ -493,6 +496,9 @@ ghcmodSpec =
493496
, (Range (toPos (33, 21)) (toPos (33, 23)), "Test -> Test -> Bool")
494497
, (Range (toPos (33, 21)) (toPos (33, 23)), "Test -> Test -> Bool")
495498
, (Range (toPos (33, 21)) (toPos (33, 23)), "Test -> Test -> Bool")
499+
#if __GLASGOW_HASKELL__ < 840
500+
, (Range (toPos (33, 21)) (toPos (33, 23)), "Test -> Test -> Bool")
501+
#endif
496502
]
497503
testCommand testPlugins act "ghcmod" "type" arg res
498504

0 commit comments

Comments
 (0)