diff options
author | Sebastian Graf <sebastian.graf@kit.edu> | 2020-03-30 21:41:27 +0200 |
---|---|---|
committer | Sebastian Graf <sebastian.graf@kit.edu> | 2020-03-31 12:02:22 +0200 |
commit | ed58d4fdcbc7b4fa8fbdf3d638a8d53c444ef4f2 (patch) | |
tree | 531fe940548b99d5fb650672b348b5f8508feded /testsuite/tests/lib/Concurrent | |
parent | f024b6e385bd1448968b7bf20de05f655c815bae (diff) | |
download | haskell-wip/T17977.tar.gz |
PmCheck: Adjust recursion depth for inhabitation testwip/T17977
In #17977, we ran into the reduction depth limit of the typechecker.
That was only a symptom of a much broader issue: The recursion depth
of the coverage checker for trying to instantiate strict fields in the
`nonVoid` test was far too high (100, the `defaultMaxTcBound`).
As a result, we were performing quite poorly on `T17977`.
Short of a proper termination analysis to prove emptyness of a type,
we just arbitrarily default to a much lower recursion limit of 3.
Fixes #17977.
Diffstat (limited to 'testsuite/tests/lib/Concurrent')
0 files changed, 0 insertions, 0 deletions