[Git][ghc/ghc][wip/int-index/ep-token-only] Fix pattern match in Parser/PostProcess
Vladislav Zavialov (@int-index)
gitlab at gitlab.haskell.org
Tue Dec 12 18:53:01 UTC 2023
Vladislav Zavialov pushed to branch wip/int-index/ep-token-only at Glasgow Haskell Compiler / GHC
Commits:
2b058d37 by Vladislav Zavialov at 2023-12-12T21:52:52+03:00
Fix pattern match in Parser/PostProcess
- - - - -
1 changed file:
- compiler/GHC/Parser/PostProcess.hs
Changes:
=====================================
compiler/GHC/Parser/PostProcess.hs
=====================================
@@ -1382,7 +1382,7 @@ checkPatBind :: SrcSpan
-> HsMultAnn GhcPs
-> P (HsBind GhcPs)
checkPatBind loc annsIn (L _ (BangPat (EpAnn _ ans cs) (L _ (VarPat _ v))))
- (L _match_span grhss) (HsNoMultAnn noExtField)
+ (L _match_span grhss) (HsNoMultAnn _)
= return (makeFunBind v (L (noAnnSrcSpan loc)
[L (noAnnSrcSpan loc) (m (EpAnn (spanAsAnchor loc) (ans++annsIn) cs) v)]))
where
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2b058d3722969810a0e4186937f877181c06386d
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2b058d3722969810a0e4186937f877181c06386d
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20231212/9a34cc27/attachment-0001.html>
More information about the ghc-commits
mailing list