Skip to content

Add a -no-haddock flag.

Judah Jacobson requested to merge judah/ghc:no-haddock into master

Add a -no-haddock flag.

This flag undoes the effect of a previous "-haddock" flag, allowing comments that would otherwise break GHC's Haddock-related parser. Having both "-haddock" and "-no-haddock" makes it easier for build systems to enable Haddock parsing in a set of global flags, but then disable it locally for specific targets. For example, some open-source packages have comments that don't pass the validation in the latest GHC.

Merge request reports