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.

haddock fails to parse {- # ... #-} (note the space) pragma #171

Open
@ghc-mirror

Description

@ghc-mirror

Original reporter: slyfox@

The problem was found on xmonad-0.9.2 haddock failure.

Minimal complete test looks as such:

$ haddock Fail.hs 

Fail.hs:1:3: parse error on input `#'
$ cat Fail.hs
{- # OPTIONS_GHC -fglasgow-exts    #-}

module Fail where

Reproducible with haddock-2.7.2 and 2.9.2.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions