You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building with either stack 0.1.5.0 or 0.1.6.0 with stack haddock
the files in .stack-work/install/x86_64-linux/lts-3.7/7.10.2/doc/ contain broken links to function and types defined elsewhere.
I'm using GHC 7.10.2 as per lts-3.7, installed with stack setup.
Steps to reproduce
$ stack new doclink
Edit src/Lib.hs:
moduleLibwhereimportControl.Applicative--| Recoding the traverse fn for listsmyListTraverse:: (Applicativef) => (a->fb) -> [a] ->f [b]
myListTraverse f =foldr (liftA2 (:). f) (pure[])
Then $ stack haddock
Expected
.stack-work/install/x86_64-linux/lts-3.7/7.10.2/doc/doclink-0.1.0.0/Lib.html containing a valid link to some Control-Applicative.html in base.
Actual
The generated documentation for myListTraverse contains a link for Applicative, but it points to .stack-work/install/x86_64-linux/lts-3.7/7.10.2/doc/base-4.8.1.0/Control-Applicative.html which doesn't exist.
When building with either stack 0.1.5.0 or 0.1.6.0 with
stack haddock
the files in
.stack-work/install/x86_64-linux/lts-3.7/7.10.2/doc/
contain broken links to function and types defined elsewhere.I'm using GHC 7.10.2 as per lts-3.7, installed with
stack setup
.Steps to reproduce
$ stack new doclink
Edit src/Lib.hs:
Then
$ stack haddock
Expected
.stack-work/install/x86_64-linux/lts-3.7/7.10.2/doc/doclink-0.1.0.0/Lib.html
containing a valid link to some Control-Applicative.html inbase
.Actual
The generated documentation for myListTraverse contains a link for Applicative, but it points to
.stack-work/install/x86_64-linux/lts-3.7/7.10.2/doc/base-4.8.1.0/Control-Applicative.html
which doesn't exist.Output of
stack haddock --verbose
:The text was updated successfully, but these errors were encountered: