Skip to content

Layout and pragmas

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 (closed), #3616 (closed).

Trac metadata
Trac field Value
Version 6.10.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (Parser)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information