summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci047.script
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2020-03-30 21:41:27 +0200
committerSebastian Graf <sebastian.graf@kit.edu>2020-03-31 12:02:22 +0200
commited58d4fdcbc7b4fa8fbdf3d638a8d53c444ef4f2 (patch)
tree531fe940548b99d5fb650672b348b5f8508feded /testsuite/tests/ghci/scripts/ghci047.script
parentf024b6e385bd1448968b7bf20de05f655c815bae (diff)
downloadhaskell-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/ghci/scripts/ghci047.script')
0 files changed, 0 insertions, 0 deletions