Fix category of representation tycon
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>
Wed, 20 Sep 2006 18:48:59 +0000 (18:48 +0000)
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>
Wed, 20 Sep 2006 18:48:59 +0000 (18:48 +0000)
Mon Sep 18 19:48:00 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Fix category of representation tycon
  Mon Sep 11 16:18:51 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
    * Fix category of representation tycon

compiler/basicTypes/OccName.lhs

index 1440525..cae76a6 100644 (file)
@@ -487,7 +487,7 @@ mkInstTyTcOcc :: Int                        -- Index
              -> OccName                -- Family name (e.g. "Map")
              -> OccName                -- Nice unique version (":R23Map")
 mkInstTyTcOcc index occ
-   = mk_deriv varName (":R" ++ show index) (occNameString occ)
+   = mk_deriv tcName (":R" ++ show index) (occNameString occ)
 \end{code}
 
 \begin{code}