diff options
author | simonpj@microsoft.com <unknown> | 2011-02-15 14:36:55 +0000 |
---|---|---|
committer | simonpj@microsoft.com <unknown> | 2011-02-15 14:36:55 +0000 |
commit | c406b5bde899dd2b28e5239937c909d675bca356 (patch) | |
tree | 47b3767c3a8ea4cffc19dc58bcdb6afc73137bd0 /compiler/codeGen | |
parent | f95abb477e0bea25b4016df9565d1c7fe1e6e9f5 (diff) | |
download | haskell-c406b5bde899dd2b28e5239937c909d675bca356.tar.gz |
Ensure exprIsCheap/exprIsExpandable deal with Cast properly
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.
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions