id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
2847,Failure on OPTION_* pramgas other than GHC,NeilMitchell,igloo,"GHC should not attempt to look at other peoples pragmas. For example:

{{{
{-# OPTIONS_DERIVE --derive=Data,Typeable,Eq,Ord #-}
module Example where
data Foo = Bar
}}}

This worked fine with GHC 6.8, but doesn't with GHC 6.10. It says:

{{{
C:\Neil\derive>ghc Example.hs -c
Example.hs:1:11-48:
    unknown flag in  {-# OPTIONS #-} pragma: _DERIVE
Example.hs:1:11-48:
    unknown flag in  {-# OPTIONS #-} pragma: --derive=Data,Typeable,Eq,Ord
}}}

I consider this to be a major regression, as it breaks (amongst other things) the Yhc compiler, the Derive tool, and my thesis. I suspect it will also break anything Malcolm has set up with OPTION_YHC or OPTION_NHC pragmas.",bug,closed,high,6.10.2,Compiler,6.10.1,fixed,,ndmitchell@…,Unknown/Multiple,Unknown/Multiple,,Unknown,,,,
