Skip to content
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
@JoergBrueggmann

Description

@JoergBrueggmann

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugplatform:windowsTickets specifically affecting Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions