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.

Parse error with two contiguous haddock comment lines #460

@harendra-kumar

Description

@harendra-kumar

The following code trips haddock parser:

{-|-}
-- |
module Main
  where
main = return ()

With this error:

haddock2.hs:2:1: parse error on input `-- |'

Even two contiguous lines having {-|-} trips the parser. But two contiguous lines having "-- |" works ok.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions