Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/45c64c1da96dc26ebc89b080dc12cfcc52a4cd68 >--------------------------------------------------------------- commit 45c64c1da96dc26ebc89b080dc12cfcc52a4cd68 Author: David Terei <[email protected]> Date: Mon Apr 25 13:05:47 2011 -0700 SafeHaskell: Disable certain ghc extensions in Safe. 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. compiler/iface/MkIface.lhs | 2 +- compiler/main/CmdLineParser.hs | 110 +++-- compiler/main/DriverPipeline.hs | 6 +- compiler/main/DynFlags.hs | 989 +++++++++++++++++++++---------------- compiler/main/GHC.hs | 5 + compiler/main/GhcMake.hs | 2 +- compiler/main/HeaderInfo.hs | 14 +- compiler/main/HscMain.lhs | 112 ++++- compiler/main/HscTypes.lhs | 6 +- compiler/main/StaticFlagParser.hs | 75 ++-- compiler/rename/RnNames.lhs | 5 +- compiler/typecheck/TcDeriv.lhs | 2 +- ghc/InteractiveUI.hs | 6 +- ghc/Main.hs | 45 +- 14 files changed, 827 insertions(+), 552 deletions(-) Diff suppressed because of size. To see it, use: git show 45c64c1da96dc26ebc89b080dc12cfcc52a4cd68 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
