diff options
author | Alex Biehl <alexbiehl@gmail.com> | 2017-05-30 19:01:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-30 19:01:37 +0200 |
commit | eca0677beaa78f31485055c432bf481dc06007a9 (patch) | |
tree | 51852c8ac02f8cd8a82e49908ba8ad44e8f8ab4b /haddock-api | |
parent | 506f614402192bd7b6a9a608e925a01b373b2bdc (diff) |
Clear fixme comment (#625)
Diffstat (limited to 'haddock-api')
-rw-r--r-- | haddock-api/src/Haddock/Backends/Xhtml/Decl.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs b/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs index ffe42c4f..035c8e9e 100644 --- a/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs +++ b/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs @@ -520,9 +520,8 @@ ppClassDecl summary links instances fixities loc d subdocs , f@(n',_) <- fixities , n == n' ] names = map unLoc lnames ] - -- FIXME: is taking just the first name ok? Is it possible that - -- there are different subdocs for different names in a single - -- type signature? + -- N.B. taking just the first name is ok. Signatures with multiple names + -- are expanded so that each name gets its own signature. minimalBit = case [ s | MinimalSig _ (L _ s) <- sigs ] of -- Miminal complete definition = every shown method |