summaryrefslogtreecommitdiff
path: root/compiler/types
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2011-06-30 14:49:14 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2011-06-30 14:49:14 +0100
commitbfbf3858110b1e16b2efd89f691e426b03e52343 (patch)
tree7f8b2aa422c9a372b0c8034670a058025b5dcbdc /compiler/types
parenta347cd7c384eb255b5507a40840205d052f137c6 (diff)
parente49dae36a00b2af8f6ad583dd24f9bacf5711242 (diff)
downloadhaskell-bfbf3858110b1e16b2efd89f691e426b03e52343.tar.gz
Merge branch 'master' of http://darcs.haskell.org/ghc
Diffstat (limited to 'compiler/types')
-rw-r--r--compiler/types/InstEnv.lhs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/types/InstEnv.lhs b/compiler/types/InstEnv.lhs
index db310f3c7f..2789a331cc 100644
--- a/compiler/types/InstEnv.lhs
+++ b/compiler/types/InstEnv.lhs
@@ -432,7 +432,7 @@ lookupInstEnv :: (InstEnv, InstEnv) -- External and home package inst-env
-> ([InstMatch], -- Successful matches
[Instance], -- These don't match but do unify
Bool) -- True if error condition caused by
- -- SafeHaskell condition.
+ -- Safe Haskell condition.
-- The second component of the result pair happens when we look up
-- Foo [a]
@@ -462,7 +462,7 @@ lookupInstEnv (pkg_ie, home_ie) cls tys
-- misleading (complaining of multiple matches when some should be
-- overlapped away)
- -- SafeHaskell: We restrict code compiled in 'Safe' mode from
+ -- Safe Haskell: We restrict code compiled in 'Safe' mode from
-- overriding code compiled in any other mode. The rational is
-- that code compiled in 'Safe' mode is code that is untrusted
-- by the ghc user. So we shouldn't let that code change the