projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24901af
)
Better names for PArray instance coercions
author
Roman Leshchinskiy
<rl@cse.unsw.edu.au>
Wed, 18 Jul 2007 04:50:51 +0000
(
04:50
+0000)
committer
Roman Leshchinskiy
<rl@cse.unsw.edu.au>
Wed, 18 Jul 2007 04:50:51 +0000
(
04:50
+0000)
compiler/vectorise/VectType.hs
patch
|
blob
|
history
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)]