diff options
author | Artyom Kuznetsov <hi@wzrd.ht> | 2021-08-13 06:42:09 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-09-28 01:51:48 -0400 |
commit | 0da019be1b613ff5ae33a45b3bb3dd6b389260d6 (patch) | |
tree | f3929e74196dda82d22a11d0262953a6dc02927f /compiler/Language/Haskell/Syntax | |
parent | 8127520ee20e0ba8f7c8bfc84818781b9af652ae (diff) | |
download | haskell-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.hs | 2 |
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) |