Ticket #33 (closed bug report: fixed)
Parse failure on closing #-} at start of line
| Reported by: | anonymous | Owned by: | nibro |
|---|---|---|---|
| Priority: | minor | Milestone: | Full code support |
| Component: | parser | Version: | |
| Keywords: | pragma, literate | Cc: |
Description
A parse failure is reported on line two of this literate Haskell test file:
> {-# LANGUAGE MultiParamTypeClasses
> #-}
>
> f :: Int
> f = 4
ghc accepts this file without error. However, after removing the bird tracks ghc gives a parse error as well. So it is not necessarily clear if this is a bug in hs-src-exts or just ghc being slightly liberal.
Change History
Note: See
TracTickets for help on using
tickets.
