[Git][ghc/ghc][wip/jade/ast] removed unused binding.

Hassan Al-Awwadi (@hassan.awwadi) gitlab at gitlab.haskell.org
Tue Oct 1 17:20:05 UTC 2024



Hassan Al-Awwadi pushed to branch wip/jade/ast at Glasgow Haskell Compiler / GHC


Commits:
1afadcfe by Hassan Al-Awwadi at 2024-10-01T19:19:34+02:00
removed unused binding.

Its errors like these that really make me wish I could build ghc completely because an half hour long pipeline to find an error like thsi is highly annoying (and a waste of the runner)

- - - - -


1 changed file:

- utils/check-exact/ExactPrint.hs


Changes:

=====================================
utils/check-exact/ExactPrint.hs
=====================================
@@ -4594,8 +4594,8 @@ instance ExactPrint (FieldOcc GhcPs) where
 instance ExactPrint (UpdFieldOcc GhcPs) where
   getAnnotationEntry = const NoEntryVal
   setAnnotationAnchor a _ _ _ = a
-  exact f@(UpdFieldOcc _ n)         = markAnnotated n >> return f
-  exact f@(XUpdFieldOcc impossible) = dataConCantHappen impossible
+  exact f@(UpdFieldOcc _ n)       = markAnnotated n >> return f
+  exact (XUpdFieldOcc impossible) = dataConCantHappen impossible
 -- ---------------------------------------------------------------------
 
 instance (ExactPrint a) => ExactPrint (HsScaled GhcPs a) where



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/1afadcfe8d9cf7d9f024ebd56e868bf239834a8c

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/1afadcfe8d9cf7d9f024ebd56e868bf239834a8c
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/20241001/0fcd4098/attachment-0001.html>


More information about the ghc-commits mailing list