• dterei's avatar
    SafeHaskell: Disable certain ghc extensions in Safe. · 45c64c1d
    dterei authored
    This patch disables the use of some GHC extensions in
    Safe mode and also the use of certain flags. Some
    are disabled completely while others are only allowed
    on the command line and not in source PRAGMAS.
    We also check that Safe imports are indeed importing
    a Safe or Trustworthy module.