OPTIONS pragma silently ignored
{-# 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.
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |