From d8a90447a5758cf12f155ea63f858ff6fd276ddc Mon Sep 17 00:00:00 2001 From: David Waern Date: Thu, 2 Oct 2008 23:04:58 +0000 Subject: Write a comment about source links for type instance declarations --- src/Haddock/Backends/Html.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/Haddock/Backends/Html.hs b/src/Haddock/Backends/Html.hs index 2357d622..7d44d452 100644 --- a/src/Haddock/Backends/Html.hs +++ b/src/Haddock/Backends/Html.hs @@ -1620,6 +1620,9 @@ topDeclBox ((_,_,maybe_source_url), (_,_,maybe_wiki_url), iface) -- For source links, we want to point to the original module, -- because only that will have the source. + + -- TODO: do something about type instances. They will point to + -- the module defining the type family, which is wrong. origMod = nameModule name wikiLink = -- cgit v1.2.3