projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1999-07-15 14:08:03 by keithw]
[ghc-hetmet.git]
/
ghc
/
compiler
/
basicTypes
/
MkId.lhs
diff --git
a/ghc/compiler/basicTypes/MkId.lhs
b/ghc/compiler/basicTypes/MkId.lhs
index
2fffbfc
..
20cdf6c
100644
(file)
--- a/
ghc/compiler/basicTypes/MkId.lhs
+++ b/
ghc/compiler/basicTypes/MkId.lhs
@@
-353,7
+353,7
@@
mkNewTySelId field_label selector_ty = sel_id
[data_id] = mkTemplateLocals [data_ty]
sel_rhs = mkLams tyvars $ Lam data_id $
- Note (Coerce rhs_ty data_ty) (Var data_id)
+ Note (Coerce (unUsgTy rhs_ty) (unUsgTy data_ty)) (Var data_id)
\end{code}