Skip to content

Haddock reports wrong safe haskell mode

With the changes in 7.4.1 to safe haskell for it to do inference, haddock no longer correctly reports the safe haskell mode of a module.

Basically it will report modules as being 'safe-infered' even when they fail. This is as in 7.2 the starting mode of safe haskell was the finishing mode. In 7.4 its now mutable state. The GHC API doesn't handle this properly.

Trac metadata
Trac field Value
Version 7.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information