summaryrefslogtreecommitdiff
path: root/compiler/Language/Haskell/Syntax
diff options
context:
space:
mode:
authorArtyom Kuznetsov <hi@wzrd.ht>2021-08-13 06:42:09 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-28 01:51:48 -0400
commit0da019be1b613ff5ae33a45b3bb3dd6b389260d6 (patch)
treef3929e74196dda82d22a11d0262953a6dc02927f /compiler/Language/Haskell/Syntax
parent8127520ee20e0ba8f7c8bfc84818781b9af652ae (diff)
downloadhaskell-0da019be1b613ff5ae33a45b3bb3dd6b389260d6.tar.gz
Remove NoGhcTc usage from HsMatchContext
NoGhcTc is removed from HsMatchContext. As a result of this, HsMatchContext GhcTc is now a valid type that has Id in it, instead of Name and tcMatchesFun now takes Id instead of Name.
Diffstat (limited to 'compiler/Language/Haskell/Syntax')
-rw-r--r--compiler/Language/Haskell/Syntax/Expr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/Language/Haskell/Syntax/Expr.hs b/compiler/Language/Haskell/Syntax/Expr.hs
index 34058b58f5..29769b6e93 100644
--- a/compiler/Language/Haskell/Syntax/Expr.hs
+++ b/compiler/Language/Haskell/Syntax/Expr.hs
@@ -1067,7 +1067,7 @@ type LMatch id body = XRec id (Match id body)
data Match p body
= Match {
m_ext :: XCMatch p body,
- m_ctxt :: HsMatchContext (NoGhcTc p),
+ m_ctxt :: HsMatchContext p,
-- See note [m_ctxt in Match]
m_pats :: [LPat p], -- The patterns
m_grhss :: (GRHSs p body)