projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comments only
[ghc-hetmet.git]
/
compiler
/
typecheck
/
TcInstDcls.lhs
diff --git
a/compiler/typecheck/TcInstDcls.lhs
b/compiler/typecheck/TcInstDcls.lhs
index
37bebcf
..
a2fb4ce
100644
(file)
--- a/
compiler/typecheck/TcInstDcls.lhs
+++ b/
compiler/typecheck/TcInstDcls.lhs
@@
-1113,7
+1113,9
@@
Note carefully:
isn't what the user expected
b) We use the magic 'inline' Id to ensure that $dmop1 really is
isn't what the user expected
b) We use the magic 'inline' Id to ensure that $dmop1 really is
- inlined in $cop1, even though the latter itself has an INLINE pragma
+ inlined in $cop1, even though
+ (i) the latter itself has an INLINE pragma
+ (ii) $dmop1 is not saturated
That is important to allow the mutual recursion between $fooInt and
$cop1 to be broken
That is important to allow the mutual recursion between $fooInt and
$cop1 to be broken