Skip to content

Documentation URLs are broken #4579

@svenpanne

Description

@svenpanne

Your environment

Which OS do you use?
Windows

Which version of GHC do you use and how did you install it?
GHC 9.10.1 from ghcup

Which LSP client (editor/plugin) do you use?
VS Code + Haskell plugin

Which version of HLS do you use and how did you install it?
HLS 2.10.0.0 from ghcup

Steps to reproduce

Install HLS 2.10.0.0 and GHC 9.10.0 via ghcup. Install Haskell extension in VS Code. Write tiny "Hello, world!" program. Hover over e.g. putStrLn and click on the "Documentation" link.

Expected behaviour

The link should point to https://hackage.haskell.org/package/ghc-internal-9.1001.0/docs/GHC-Internal-System-IO.html#v:putStrLn.

Actual behaviour

The broken link points to https://hackage.haskell.org/package/ghc-internal-9.1001.0-9d27/docs/GHC-Internal-System-IO.html#v:putStrLn. Note the -9d27 in the URL, which is wrong. Basically the same happens for the "Source" link in the hover window.

I've got no idea if this is a problem with the VS Code plugin, the HLS, Haddock or something else, so I'll try here first. If this is wrong, it would be great to know where to create this issue.

Metadata

Metadata

Assignees

Labels

os: windowstype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions