[GHC] #5989: Haddock reports wrong safe haskell mode

GHC cvs-ghc at haskell.org
Wed Apr 4 02:33:08 CEST 2012


#5989: Haddock reports wrong safe haskell mode
------------------------------+---------------------------------------------
 Reporter:  dterei            |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  Compiler        
  Version:  7.4.1             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5989>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list