Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/5f96d5b230e4394b00a7027897ae02fa081b1434 >--------------------------------------------------------------- commit 5f96d5b230e4394b00a7027897ae02fa081b1434 Author: David Terei <[email protected]> Date: Tue May 31 14:19:36 2011 -0700 SafeHaskell: Require implicit imports to be safe >--------------------------------------------------------------- compiler/main/DynFlags.hs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index ba18f49..7263796 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -1003,7 +1003,7 @@ safeDirectImpsReq = safeLanguageOn -- | Are all implicit imports required to be safe for this SafeHaskell mode? -- Implicit imports are things in the prelude. e.g System.IO when print is used. safeImplicitImpsReq :: DynFlags -> Bool -safeImplicitImpsReq _ = False +safeImplicitImpsReq = safeLanguageOn -- | Combine two SafeHaskell modes correctly. Used for dealing with multiple flags. -- This makes SafeHaskell very much a monoid but for now I prefer this as I don't _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
