projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8d227e3
)
Comment only
author
simonpj@microsoft.com
<unknown>
Wed, 21 Jun 2006 22:39:40 +0000
(22:39 +0000)
committer
simonpj@microsoft.com
<unknown>
Wed, 21 Jun 2006 22:39:40 +0000
(22:39 +0000)
compiler/typecheck/TcBinds.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcBinds.lhs
b/compiler/typecheck/TcBinds.lhs
index
6e40c79
..
d115f34
100644
(file)
--- a/
compiler/typecheck/TcBinds.lhs
+++ b/
compiler/typecheck/TcBinds.lhs
@@
-449,6
+449,8
@@
tcSpecPrag poly_id hs_ty inl
; extendLIEs lie
; let const_dicts = map instToId lie
; return (SpecPrag (mkHsCoerce co_fn (HsVar poly_id)) spec_ty const_dicts inl) }
+ -- Most of the work of specialisation is done by
+ -- the desugarer, guided by the SpecPrag
--------------
-- If typechecking the binds fails, then return with each