Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

foo' links to foo #1408

Closed
zliu41 opened this issue Jun 16, 2021 · 2 comments
Closed

foo' links to foo #1408

zliu41 opened this issue Jun 16, 2021 · 2 comments

Comments

@zliu41
Copy link

zliu41 commented Jun 16, 2021

While 'foo'' and `foo'' both correctly link to foo', `foo'` links to foo, which seems like a bug.

@zliu41 zliu41 changed the title foo' links to foo `` foo' ` links to foo` Jun 16, 2021
@zliu41 zliu41 changed the title `` foo' ` links to foo` ` foo' links to foo` Jun 16, 2021
@zliu41 zliu41 changed the title ` foo' links to foo` foo' links to foo Jun 16, 2021
@Kleidukos
Copy link
Member

Alright, I can reproduce it with the following code:

module Module where

-- | This is the `foo'` function.
foo' :: ()
foo' = ()
❯ haddock Module.hs 
Haddock coverage:
Warning: Package name is not available.
Warning: 'foo' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
  50% (  1 /  2) in 'Module'
  Missing documentation for:
    Module header

@Kleidukos
Copy link
Member

closed by #1483

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants