summaryrefslogtreecommitdiff
path: root/testsuite/tests/arityanal/f3.hs
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2020-10-06 15:46:16 +0200
committerSebastian Graf <sebastian.graf@kit.edu>2020-10-15 12:41:06 +0200
commit89d2a1b30e17a16a5458b93d93d94f9bbb74d585 (patch)
tree195a70a9cc8acba1f85719368f7ea2f18c6c25c0 /testsuite/tests/arityanal/f3.hs
parentf075090b210bc23ecbe3d3963da72362df84fa9f (diff)
downloadhaskell-89d2a1b30e17a16a5458b93d93d94f9bbb74d585.tar.gz
Arity: Record arity types for non-recursive lets
In #18793, we saw a compelling example which requires us to look at non-recursive let-bindings during arity analysis and unleash their arity types at use sites. After the refactoring in the previous patch, the needed change is quite simple and very local to `arityType`'s defn for non-recurisve `Let`. Apart from that, we had to get rid of the second item of `Note [Dealing with bottoms]`, which was entirely a safety measure and hindered optimistic fixed-point iteration. Fixes #18793. The following metric increases are all caused by this commit and a result of the fact that we just do more work now: Metric Increase: T3294 T12545 T12707
Diffstat (limited to 'testsuite/tests/arityanal/f3.hs')
0 files changed, 0 insertions, 0 deletions