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:
ed0ad23
)
Comments only
author
simonpj@microsoft.com
<unknown>
Fri, 18 Dec 2009 16:41:19 +0000
(16:41 +0000)
committer
simonpj@microsoft.com
<unknown>
Fri, 18 Dec 2009 16:41:19 +0000
(16:41 +0000)
compiler/typecheck/TcInstDcls.lhs
patch
|
blob
|
history
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
- 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