Store the Haskell Type in SignalInfo.
[matthijs/master-project/cλash.git] / Pretty.hs
index 3797fe2ad1e0f3a45b8a8094e39742b1fa3ac5bd..98a3d33e9e7a15fe535caf9d23abb541cd5bd32c 100644 (file)
--- a/Pretty.hs
+++ b/Pretty.hs
@@ -47,8 +47,8 @@ instance Pretty id => Pretty (CondDef id) where
   pPrint _ = text "TODO"
 
 instance Pretty SignalInfo where
-  pPrint (SignalInfo Nothing) = empty
-  pPrint (SignalInfo (Just name)) = text ":" <> text name
+  pPrint (SignalInfo Nothing ty) = empty
+  pPrint (SignalInfo (Just name) ty) = text ":" <> text name
 
 instance Pretty VHDLSession where
   pPrint (VHDLSession mod nameCount funcs) =