Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

LaTeX backend: declNames error #727

Closed
@ugeorge

Description

@ugeorge

When trying to generate LaTeX documentation of a more complex project (i.e. makes use of type classes and type families), Haddock throws the following error and no output is generated:

haddock: internal error: declaration not supported by declNames
CallStack (from HasCallStack):
  error, called at utils/haddock/haddock-api/src/Haddock/Backends/LaTeX.hs:257:8 in main:Haddock.Backends.LaTeX

Possible cause: at the pointed line declNames throws an error instead of handling the remaining type constructors InstD and DerivD) safely.

Haddock version: 2.16.1
Cabal version: 2.0.0.1
GHC version: 8.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions