Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/3a8df61180ace3941ae3e680f4255b637a29ef05 >--------------------------------------------------------------- commit 3a8df61180ace3941ae3e680f4255b637a29ef05 Author: David Terei <[email protected]> Date: Fri Apr 29 19:16:31 2011 -0700 SafeHaskell: Restrict OverlappingInstances. OverlappingInstances in Safe modules can only overlap instances defined in the same module. compiler/iface/LoadIface.lhs | 2 +- compiler/iface/TcIface.lhs | 19 +++--- compiler/iface/TcIface.lhs-boot | 27 ++++---- compiler/typecheck/Inst.lhs | 11 +++- compiler/typecheck/TcDeriv.lhs | 30 +++++---- compiler/typecheck/TcErrors.lhs | 78 ++++++++++++++--------- compiler/typecheck/TcInstDcls.lhs | 3 +- compiler/typecheck/TcSMonad.lhs | 6 +- compiler/typecheck/TcSplice.lhs | 2 +- compiler/types/InstEnv.lhs | 82 ++++++++++++++++++------- compiler/vectorise/Vectorise/Monad/InstEnv.hs | 2 +- 11 files changed, 164 insertions(+), 98 deletions(-) Diff suppressed because of size. To see it, use: git show 3a8df61180ace3941ae3e680f4255b637a29ef05 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
