Closed dschrempf closed 4 years ago
Formatting of Haddock comments in the export list of module headers leads to semantic errors with Haddock. For example, the following code
( DataTypeI , DataTypeII(DataConstructor) -- * Haddock heading , name )
is formatted by Brittany to
( DataTypeI , DataTypeII ( DataConstructor -- * Haddock heading ) , name )
which throws a Haddock error of the form
parse error on input ‘-- * Haddock heading’ source > | source > 23 | -- * Haddock heading source > | ^^^^^^^^^^^^
See also issue #231.
I think this is a duplicate of #220.
Formatting of Haddock comments in the export list of module headers leads to semantic errors with Haddock. For example, the following code
is formatted by Brittany to
which throws a Haddock error of the form
See also issue #231.