summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-03-22 20:44:59 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-03-30 03:11:10 -0400
commite5dfde75850a6c18fca55b302713fe81794069dd (patch)
tree2cbb2a85149eecb61b615d7dbc061fc461357d0e
parentf07c7766663fa52a037aaf941fd0d34523ff2f2f (diff)
downloadhaskell-e5dfde75850a6c18fca55b302713fe81794069dd.tar.gz
Fix reference to Note [FunBind vs PatBind]
This Note was renamed in 2535a6716202253df74d8190b028f85cc6d21b72 yet this occurrence was not updated.
-rw-r--r--compiler/Language/Haskell/Syntax/Expr.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/Language/Haskell/Syntax/Expr.hs b/compiler/Language/Haskell/Syntax/Expr.hs
index 3a309908f9..67fa0fb796 100644
--- a/compiler/Language/Haskell/Syntax/Expr.hs
+++ b/compiler/Language/Haskell/Syntax/Expr.hs
@@ -1642,8 +1642,8 @@ data ArithSeqInfo id
-- | Haskell Match Context
--
--- Context of a pattern match. This is more subtle than it would seem. See Note
--- [Varieties of pattern matches].
+-- Context of a pattern match. This is more subtle than it would seem. See
+-- Note [FunBind vs PatBind].
data HsMatchContext p
= FunRhs
-- ^ A pattern matching on an argument of a