Skip to content

Commit de331d4

Browse files
committed
Typo
1 parent b3f153e commit de331d4

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
@@ -176,7 +176,7 @@ haddock pkg_descr lbi suffixes flags' = do
176176
die' verbosity "haddock 2.0 and 2.1 do not support the --hoogle flag."
177177

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

182182
haddockGhcVersionStr <- getProgramOutput verbosity haddockProg
@@ -539,7 +539,7 @@ renderPureArgs version comp platform args = concat
539539
. fromFlag . argPackageName $ args
540540
else []
541541

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

544544
, [ "--quickjump" | isVersion 2 19
545545
, fromFlag . argQuickJump $ args ]

0 commit comments

Comments
 (0)