projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2000-05-23 13:16:51 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
basicTypes
/
MkId.lhs
diff --git
a/ghc/compiler/basicTypes/MkId.lhs
b/ghc/compiler/basicTypes/MkId.lhs
index
411c994
..
3206e03
100644
(file)
--- a/
ghc/compiler/basicTypes/MkId.lhs
+++ b/
ghc/compiler/basicTypes/MkId.lhs
@@
-464,7
+464,7
@@
mkDictSelId name clas
where
ty = exprType rhs
sel_id = mkId name ty info
where
ty = exprType rhs
sel_id = mkId name ty info
- field_lbl = mkFieldLabel name ty tag
+ field_lbl = mkFieldLabel name tycon ty tag
tag = assoc "MkId.mkDictSelId" (classSelIds clas `zip` allFieldLabelTags) sel_id
info = mkIdInfo (RecordSelId field_lbl)
tag = assoc "MkId.mkDictSelId" (classSelIds clas `zip` allFieldLabelTags) sel_id
info = mkIdInfo (RecordSelId field_lbl)