projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Better names for PArray instance coercions
[ghc-hetmet.git]
/
compiler
/
vectorise
/
VectType.hs
diff --git
a/compiler/vectorise/VectType.hs
b/compiler/vectorise/VectType.hs
index
5dceb3b
..
15b2a5b
100644
(file)
--- a/
compiler/vectorise/VectType.hs
+++ b/
compiler/vectorise/VectType.hs
@@
-201,7
+201,7
@@
buildPArrayParentInfo :: Name -> TyCon -> TyCon -> VM TyConParent
buildPArrayParentInfo orig_name vect_tc repr_tc
= do
parray_tc <- builtin parrayTyCon
- co_name <- cloneName mkInstTyCoOcc orig_name
+ co_name <- cloneName mkInstTyCoOcc (tyConName repr_tc)
let inst_tys = [mkTyConApp vect_tc (map mkTyVarTy tyvars)]