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

haddock haddock at projects.haskell.org
Tue Mar 15 21:02:19 GMT 2011


#171: haddock fails to parse {- # ... #-} (note the space) pragma
-------------------+--------------------------------------------------------
Reporter:  slyfox  |       Owner:       
    Type:  defect  |      Status:  new  
Priority:  major   |   Milestone:  2.7.0
 Version:  2.9.1   |    Keywords:       
-------------------+--------------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.haskell.org/haddock/ticket/171>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool


More information about the Haddock mailing list