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
{{ message }}
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
With haddock-ghc-8.10.1 (and tip of ghc-8.10 as of writing)
moduleClassMember (Foo(a)) whereclassFooawherea::a->Int
a x = b x
b::a->Int
b _ =6instanceFooIntwhere
produces
b has no business showing up in the instance! I expect this problem shows up for instance lists under data declarations. Although this example has an obviously correct case, it is not always clear what we should do. For instance: suppose a class is exported from two different locations with different methods visible, which do we show
under the first place it is re-exported
under the seconds place it is re-exported
under data types elsewhere which declare instances