aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2008-10-02 23:04:58 +0000
committerDavid Waern <david.waern@gmail.com>2008-10-02 23:04:58 +0000
commitd8a90447a5758cf12f155ea63f858ff6fd276ddc (patch)
tree7c954da77aa93cd8c609971210fd576de68c200b /src
parent8695d86b9f5d09b9587e81e56bd696f1f8ce2a7c (diff)
Write a comment about source links for type instance declarations
Diffstat (limited to 'src')
-rw-r--r--src/Haddock/Backends/Html.hs3
1 files changed, 3 insertions, 0 deletions
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 =