summaryrefslogtreecommitdiff
path: root/compiler/GHC/HsToCore/Docs.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/HsToCore/Docs.hs
parent4a7809284354025d07221f0aeca10a7992d23677 (diff)
downloadhaskell-wip/fix-notes3.tar.gz
Fix several note references, part 2wip/fix-notes3
Diffstat (limited to 'compiler/GHC/HsToCore/Docs.hs')
-rw-r--r--compiler/GHC/HsToCore/Docs.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/HsToCore/Docs.hs b/compiler/GHC/HsToCore/Docs.hs
index c4839ae449..7bf49a6c8d 100644
--- a/compiler/GHC/HsToCore/Docs.hs
+++ b/compiler/GHC/HsToCore/Docs.hs
@@ -273,8 +273,8 @@ mkMaps env instances decls =
names _ decl = getMainDeclBinder env decl
{-
-Note [1]:
----------
+Note [1]
+~~~~~~~~
We relate ClsInsts to InstDecls and DerivDecls using the SrcSpans buried
inside them. That should work for normal user-written instances (from
looking at GHC sources). We can assume that commented instances are