-
-
Notifications
You must be signed in to change notification settings - Fork 437
Documentation URLs are broken #4579
Copy link
Copy link
Closed
Labels
os: windowstype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Metadata
Metadata
Assignees
Labels
os: windowstype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Type
Fields
Give feedbackNo fields configured for issues without a type.
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
ghcupWhich 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
ghcupSteps 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.putStrLnand 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
-9d27in 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.