Skip to content

Commit 0a3891e

Browse files
harpocrates23Skidoo
authored andcommitted
Typo
1 parent 8d87d3e commit 0a3891e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cabal/Distribution/Simple/Haddock.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ haddock pkg_descr lbi suffixes flags' = do
180180
die' verbosity "haddock 2.0 and 2.1 do not support the --hoogle flag."
181181

182182
when ( flag haddockQuickJump
183-
&& version < mkVersion [2,20]) $
183+
&& version < mkVersion [2,19]) $
184184
die' verbosity "haddock prior to 2.19 does not support the --quickjump flag."
185185

186186
haddockGhcVersionStr <- getProgramOutput verbosity haddockProg
@@ -553,7 +553,7 @@ renderPureArgs version comp platform args = concat
553553
. fromFlag . argPackageName $ args
554554
else []
555555

556-
, [ "--since-qual=external" | version >= mkVersion 2 20 ]
556+
, [ "--since-qual=external" | isVersion 2 20 ]
557557

558558
, [ "--quickjump" | isVersion 2 19
559559
, fromFlag . argQuickJump $ args ]

0 commit comments

Comments
 (0)