Also add NoGenerics pragma to the other types.hs files
authorChristiaan Baaij <christiaan.baaij@gmail.com>
Thu, 23 Jul 2009 16:03:54 +0000 (18:03 +0200)
committerChristiaan Baaij <christiaan.baaij@gmail.com>
Thu, 23 Jul 2009 16:03:54 +0000 (18:03 +0200)
cλash/CLasH/Normalize/NormalizeTypes.hs
cλash/CLasH/Translator/TranslatorTypes.hs
cλash/CLasH/Utils/Core/CoreShow.hs

index 90589f85e16b74445058f9bf43a96d9d33714fae..80d75fc7ab851c8ca6dc0cfb92fbc320a6ea4420 100644 (file)
@@ -1,4 +1,4 @@
-{-# LANGUAGE TemplateHaskell #-}
+{-# LANGUAGE TemplateHaskell, NoGenerics #-}
 module CLasH.Normalize.NormalizeTypes where
 
 
 module CLasH.Normalize.NormalizeTypes where
 
 
index 0ab3b878a132542bbcd011b368dd254622394df8..2b8777f703eb1bc98362ca54010345e627f95a4b 100644 (file)
@@ -2,7 +2,7 @@
 -- Simple module providing some types used by Translator. These are in a
 -- separate module to prevent circular dependencies in Pretty for example.
 --
 -- Simple module providing some types used by Translator. These are in a
 -- separate module to prevent circular dependencies in Pretty for example.
 --
-{-# LANGUAGE TemplateHaskell #-}
+{-# LANGUAGE TemplateHaskell, NoGenerics #-}
 module CLasH.Translator.TranslatorTypes where
 
 import qualified Control.Monad.Trans.State as State
 module CLasH.Translator.TranslatorTypes where
 
 import qualified Control.Monad.Trans.State as State
index aa1ea8041b4dacc01b0a3d3ac91c6579420dc70e..ac6b1d118c97413a17635fec15ef12a3209c4a50 100644 (file)
@@ -27,7 +27,7 @@ deriving instance (Show n, OutputableBndr n) => Show (HsTypes.HsType n)
 deriving instance (Show n, OutputableBndr n) => Show (HsTypes.ConDeclField n)
 deriving instance (Show x) => Show (SrcLoc.Located x)
 deriving instance (Show x, OutputableBndr x) => Show (HsExpr.StmtLR x x)
 deriving instance (Show n, OutputableBndr n) => Show (HsTypes.ConDeclField n)
 deriving instance (Show x) => Show (SrcLoc.Located x)
 deriving instance (Show x, OutputableBndr x) => Show (HsExpr.StmtLR x x)
-deriving instance (Show x, OutpubableBndr x) => Show (HsExpr.HsTupArg x)
+deriving instance (Show x, OutputableBndr x) => Show (HsExpr.HsTupArg x)
 deriving instance (Show x, OutputableBndr x) => Show (HsExpr.HsExpr x)
 deriving instance Show (RdrName.RdrName)
 deriving instance (Show idL, Show idR, OutputableBndr idL, OutputableBndr idR) => Show (HsBinds.HsBindLR idL idR)
 deriving instance (Show x, OutputableBndr x) => Show (HsExpr.HsExpr x)
 deriving instance Show (RdrName.RdrName)
 deriving instance (Show idL, Show idR, OutputableBndr idL, OutputableBndr idR) => Show (HsBinds.HsBindLR idL idR)