[Git][ghc/ghc][wip/ttg/types/basic] Can't have type families in class instances.

Hassan Al-Awwadi (@hassan.awwadi) gitlab at gitlab.haskell.org
Mon Oct 28 09:29:34 UTC 2024



Hassan Al-Awwadi pushed to branch wip/ttg/types/basic at Glasgow Haskell Compiler / GHC


Commits:
1a7812a5 by Hassan Al-Awwadi at 2024-10-28T10:29:14+01:00
Can't have type families in class instances.

I keep trying to do it like a fool...

- - - - -


1 changed file:

- utils/check-exact/ExactPrint.hs


Changes:

=====================================
utils/check-exact/ExactPrint.hs
=====================================
@@ -2350,7 +2350,7 @@ instance ExactPrint (TyFamInstDecl GhcPs) where
 
 -- ---------------------------------------------------------------------
 
-instance ExactPrint (LOverlapMode (GhcPass p)) where
+instance ExactPrint (LocatedP (OverlapMode (GhcPass p))) where
   getAnnotationEntry = entryFromLocatedA
   setAnnotationAnchor = setAnchorAn
 



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/1a7812a525017f46958e555b08e75765a6e7545c
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/20241028/70b5ed45/attachment-0001.html>


More information about the ghc-commits mailing list