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.

Haddock to LaTeX fails with internal error #930

Closed
@pjljvandelaar

Description

@pjljvandelaar

When I run haddock as follows on the valexpr package of TorXakis (https://github.com/TorXakis/TorXakis):

C:\> stack haddock .\sys\valexpr --haddock-arguments "--latex" --no-haddock-deps --no-haddock-hyperlink-source

I get

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
Completed 5 action(s).

declNames is not defined within TorXakis, so I have no clue what is causing this error: is the haddock documentation wrong or is it a bug in haddock?

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