From 112b087184101471d0f31a0e46791f8587d99cd0 Mon Sep 17 00:00:00 2001 From: iphydf Date: Tue, 5 Nov 2024 14:48:32 +0000 Subject: [PATCH] fix: Make cimple compatible with ghc 9.6.5. --- src/Language/Cimple/Annot.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Language/Cimple/Annot.hs b/src/Language/Cimple/Annot.hs index 9850c9e..f882a68 100644 --- a/src/Language/Cimple/Annot.hs +++ b/src/Language/Cimple/Annot.hs @@ -18,7 +18,7 @@ import GHC.Generics (Generic, Generic1) import Language.Cimple.Ast (Node, NodeF) data AnnotF attr a = Annot { attr :: attr, unAnnot :: a } - deriving (Functor, Generic, Generic1) + deriving (Show, Read, Eq, Functor, Generic, Generic1) deriving (Show1, Read1, Eq1) via FunctorClassesDefault (AnnotF attr) type AnnotNode lexeme = Fix (AnnotF () `Compose` NodeF lexeme)