Skip to content

Commit 0bfc890

Browse files
FinleyMcIlwaineMarge Bot
authored andcommitted
Include -haddock in DynFlags fingerprint
The -haddock flag determines whether or not the resulting .hi files contain haddock documentation strings. If the existing .hi files do not contain haddock documentation strings and the user requests them, we should recompile.
1 parent f8fa1d0 commit 0bfc890

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/GHC/Driver/Flags.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,7 @@ codeGenFlags = EnumSet.fromList
568568
-- Flags that affect generated code
569569
, Opt_ExposeAllUnfoldings
570570
, Opt_NoTypeableBinds
571+
, Opt_Haddock
571572

572573
-- Flags that affect catching of runtime errors
573574
, Opt_CatchNonexhaustiveCases

0 commit comments

Comments
 (0)