[Haddock] [haddock] #233: Haddock crashes "internal error: renameType"

haddock haddock at projects.haskell.org
Tue Jan 1 01:03:59 GMT 2013


#233: Haddock crashes "internal error: renameType"
-----------------------+----------------------------------------------------
Reporter:  mikeplus64  |       Owner:       
    Type:  defect      |      Status:  new  
Priority:  major       |   Milestone:       
 Version:  2.12.0      |    Keywords:  crash
-----------------------+----------------------------------------------------
 When generating docs for
 https://github.com/mikeplus64/record/blob/master/src/Data/Record.hs,
 haddock crashes:

 {{{
 ~/code/projects/record/src/Data> haddock Record.hs -v 3
 Creating interfaces...
 Haddock coverage:
 Checking module Data.Record...
 Creating interface...
 doc comment parse failed:  See 'alter'
  > [alt|x|] == alter (undefined :: Key x)
 doc comment parse failed:  See 'access'.
  > [get|x|] == access (undefined :: Key x)
 Warning: Data.Record: Instances of type and data families are not yet
 supported. Instances of the following families will be filte
 red out:
   Wrap, ++
 Warning: Couldn't find .haddock for export GHC.TypeLits.Symbol
   43% ( 15 / 35) in 'Data.Record'
 Attaching instances...
 Building cross-linking environment...
 Renaming interfaces...
 haddock: internal error: renameType

 ~/code/projects/record/src/Data> haddock --version
 Haddock version 2.12.0, (c) Simon Marlow 2006
 Ported to use the GHC API by David Waern 2006-2008
 }}}

 This is installed from Arch Linux's [haskell] repository, which says the
 version is 2.13.1-2. cabal info haddock also says I have 2.13.1 installed.
 But I trust haddock --version more so that's the version I used for the
 ticket. :)

-- 
Ticket URL: <http://trac.haskell.org/haddock/ticket/233>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool


More information about the Haddock mailing list