commercialhaskell / commercialhaskell/stack

haddock-error gets buried under warnings

Open
#2,605 1 comment 1 reaction 0 assignees View on GitHub
awaiting pull request component: output (UI/UX) help wanted type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

I am using

```
stack build --haddock --haddock-deps --haddock-arguments=--hyperlinked-source
```

This fails, because haddock gives an error on one of the source files (ghc does not). But it is hard to find out from stack's output:
- last lines of stack output are just last lines of haddock warnings (and I have hundreds, like "missing documentation for ...") - I would expect a status message from stack saying that something failed
- so, to check the status, and see the error, I have to scroll back on the screen (or in the log file, whose location was printed by stack, but to see that, I also have to wade back throught the warnings)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.