Ticket #11 (closed defect: invalid)
Top-level Haddock comments must follow the layout of declarations
|Reported by:||waern||Owned by:|
If layout is used, a Haddock comment must be at the same indentation level as the declaration it is commenting. As an example, the following causes a parse error:
-- | doc comment for f f :: Int f = 1
This needs to be fixed in the GHC lexer, hence the 2.3.0 milestone.