haskell / haddock

Haskell Documentation Tool
www.haskell.org/haddock/
BSD 2-Clause "Simplified" License
361 stars 241 forks source link

Failure in "renameType" when dealing with Template Haskell and tuples #209

Open ghc-mirror opened 10 years ago

ghc-mirror commented 10 years ago

Original reporter: eir@

I cannot yet use Haddock to document the singletons library (available on HackageDB / cabal-install). The problem line is line 64 of Singletons/Lib.hs, which uses Template Haskell to generate declarations for promoted tuple types and kinds. (haddock runs without error with that line removed.) I have tried to create a small test case, but I have been unable to do so.

This was tested on a build in the GHC tree with GHC version 7.5.20120720. The reported haddock version is 2.11.0.

gbaz commented 6 years ago

Singletons appears to generate now. (http://hackage.haskell.org/package/singletons) Can we close this? cc @goldfirere