[GHC] #2499: OPTIONS pragma silently ignored
GHC
trac at galois.com
Thu Aug 7 07:54:56 EDT 2008
#2499: OPTIONS pragma silently ignored
-------------------------+--------------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.10.1
Component: Compiler | Version: 6.8.3
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
-------------------------+--------------------------------------------------
{{{
{-# OPTIONS_GHC -package blarg #-}
module Foo where
f x = x
}}}
This compiles, but it shouldn't because there is no such package. AND
because `-package` is not an acceptable OPTIONS flag in a module.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2499>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list