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:
c406b5b
)
Ensure exprIsCheap/exprIsExpandable deal with Cast properly
author
simonpj@microsoft.com
<unknown>
Tue, 15 Feb 2011 14:36:55 +0000
(14:36 +0000)
committer
simonpj@microsoft.com
<unknown>
Tue, 15 Feb 2011 14:36:55 +0000
(14:36 +0000)
This bug was causing a Lint error on the stable branch. For some
reason it doesn't show up in HEAD, but it's still worth fixing.
The point is that ((f `cast` co) a) is cheap if f has arity>1.
This was being gratuitously missed before.
No differences found