summaryrefslogtreecommitdiff
path: root/testsuite/tests/dependent
diff options
context:
space:
mode:
authorAlexis King <lexi.lambda@gmail.com>2020-04-30 22:50:29 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-05-03 04:42:12 -0400
commitb465dd4500beffe919e8b8dcd075008399fbf446 (patch)
tree72192f4d67e01d5d2e21414f403e1abdb8ab41fa /testsuite/tests/dependent
parent02543d5ef9bd7a910fc9fece895780583ab9635a (diff)
downloadhaskell-b465dd4500beffe919e8b8dcd075008399fbf446.tar.gz
Flatten nested casts in the simple optimizer
Normally, we aren’t supposed to generated any nested casts, since mkCast takes care to flatten them, but the simple optimizer didn’t use mkCast, so they could show up after inlining. This isn’t really a problem, since the simplifier will clean them up immediately anyway, but it can clutter the -ddump-ds output, and it’s an extremely easy fix. closes #18112
Diffstat (limited to 'testsuite/tests/dependent')
-rw-r--r--testsuite/tests/dependent/should_compile/dynamic-paper.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/dependent/should_compile/dynamic-paper.stderr b/testsuite/tests/dependent/should_compile/dynamic-paper.stderr
index e9d6540f14..89b88f45ab 100644
--- a/testsuite/tests/dependent/should_compile/dynamic-paper.stderr
+++ b/testsuite/tests/dependent/should_compile/dynamic-paper.stderr
@@ -12,4 +12,4 @@ Simplifier ticks exhausted
simplifier non-termination has been judged acceptable.
To see detailed counts use -ddump-simpl-stats
- Total ticks: 140084
+ Total ticks: 138082