#3645: Layout and pragmas
--------------------------------+-------------------------------------------
Reporter: igloo | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.14.1
Component: Compiler (Parser) | Version: 6.10.4
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
--------------------------------+-------------------------------------------
With this module:
{{{
{-# LANGUAGE DeriveDataTypeable,
FlexibleContexts
#-}
module Foo where
}}}
GHC 6.12 says:
{{{
Cannot parse LANGUAGE pragma
Expecting comma-separated list of language options,
each starting with a capital letter
E.g. {-# LANGUAGE RecordPuns, Generics #-}
}}}
but this should probably be allowed. See #3519, #3616.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3645>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs