id,summary,reporter,owner,description,type,status,priority,milestone,version,resolution,keywords,cc
69,Errors with class members,NeilMitchell,,"Given the files:

{{{
-- Boo.hs
module Boo where

class Boo a  where
    boo1, boo2, boo3 :: a
    boo4 :: a
}}}

{{{
-- Test.hs
module Test(Boo, boo1, boo2, boo3, boo4) where
import Boo
}}}

{{{
$ haddock --html Test.hs Boo.hs
}}}

I would expect Haddock to infer that there is one class with 4 methods. Instead it infers that there is one class (Boo), two methods (boo1, boo4) and two top-level functions (boo1, boo4). Haddock seems to get confused by the boo1,boo2,boo3 comma separated identifiers. The incorrect top-level functions may be a symptom of the same bug, or may be a separate bug.

This issue causes the GHC documentation not to include {{{even}}}, {{{tan} and lots of others. It also mess up Hoogle. I'd mark this as priority blocker!

All using the latest HEAD Haddock with GHC 6.10.1.",defect,closed,major,,2.5.0,fixed,,ndmitchell@… marlowsd@…
