Remove the hasGenerics field of TyCon, improve the way the Generics flags is handled...
[ghc-hetmet.git] / compiler / vectorise / Vectorise / Type / PData.hs
index 2541bc1..b7bd95e 100644 (file)
@@ -12,7 +12,6 @@ import BuildTyCl
 import DataCon
 import TyCon
 import Type
-import OccName
 import Name
 import Util
 import MonadUtils
@@ -32,8 +31,8 @@ buildPDataTyCon orig_tc vect_tc repr = fixV $ \repr_tc ->
                            []          -- no stupid theta
                            rhs
                            rec_flag    -- FIXME: is this ok?
-                           False       -- FIXME: no generics
                            False       -- not GADT syntax
+                           NoParentTyCon
                            (Just $ mk_fam_inst pdata vect_tc)
   where
     orig_name = tyConName orig_tc