summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/InstEnv.hs
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2022-05-03 12:59:18 +0200
committerKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2022-05-03 13:07:33 +0200
commit8abfa45f4c3ef3bf601fc15452a76b4b1ffefc1a (patch)
treeba1bfadb1a60d4b1a1ff103ad36d0fcffef90e5b /compiler/GHC/Core/InstEnv.hs
parent4a7809284354025d07221f0aeca10a7992d23677 (diff)
downloadhaskell-wip/fix-notes3.tar.gz
Fix several note references, part 2wip/fix-notes3
Diffstat (limited to 'compiler/GHC/Core/InstEnv.hs')
-rw-r--r--compiler/GHC/Core/InstEnv.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Core/InstEnv.hs b/compiler/GHC/Core/InstEnv.hs
index 63dde6f6b5..45ecd4f2b5 100644
--- a/compiler/GHC/Core/InstEnv.hs
+++ b/compiler/GHC/Core/InstEnv.hs
@@ -965,7 +965,7 @@ lookupInstEnv check_overlap_safe
(m:_) | isIncoherent (fst m) -> NoUnifiers
_ -> all_unifs
- -- NOTE [Safe Haskell isSafeOverlap]
+ -- Note [Safe Haskell isSafeOverlap]
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- We restrict code compiled in 'Safe' mode from overriding code
-- compiled in any other mode. The rationale is that code compiled