#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
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to