This repository was archived by the owner on Aug 3, 2024. It is now read-only.
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
Character "©" in comment leads to exception: commitAndReleaseBuffer: invalid argument (invalid character) #1472
Open
Description
The following haddock comment
...
-- | ...a ....
{-|
Prefix: xyz
Characteristics
* does this and this
* e.g. bla... (' \0')
* e.g. ... (' ')
* e.g. ... 'A'
* e.g. ... '©'
* regarding particular functions
* ...
* ...
* ...
* ...
* ...
-}
led to the following output and hence stop of Haddock (version 2.24.0)
Warning: '<stderr>: commitAndReleaseBuffer: invalid argument (invalid character)
After removing the line with '©' the error (designated as Warning) disapeared.
Now, I am using
Haddock version 2.25.1, (c) Simon Marlow 2006
and now it just stops - even without any message.