diff options
author | simonpj <unknown> | 2000-05-24 11:39:48 +0000 |
---|---|---|
committer | simonpj <unknown> | 2000-05-24 11:39:48 +0000 |
commit | 6e04c7e8ce404d4c2552e7118f1ece20b2632e92 (patch) | |
tree | e166f207e85d61d55c1c142cb9906e7476811b9e /ghc/compiler/javaGen/JavaGen.lhs | |
parent | 27c253536ba2eeae99e6b5e07a9c5ec7bd2f063b (diff) | |
download | haskell-6e04c7e8ce404d4c2552e7118f1ece20b2632e92.tar.gz |
[project @ 2000-05-24 11:39:48 by simonpj]
MERGE 4.07
* When float outwards (full laziness) remember to
switch off the demand flag. Else we wrongly
can transform
\x -> let y __D = (...) in y+x
into
let y __D = (...)
in \x -> y+x
In the latter, y is not necessarily demanded;
it depends whether the function is called. We
should switch off the demand flag.
The fix is right at the bottom in SetLevels.subst_id_info
Diffstat (limited to 'ghc/compiler/javaGen/JavaGen.lhs')
0 files changed, 0 insertions, 0 deletions