summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2014-02-11 10:42:50 +0000
committerJoachim Breitner <mail@joachim-breitner.de>2014-02-11 15:36:25 +0000
commita27b2985511800fa3b740fef82ad3da9c8683302 (patch)
treeae2e0594e23d90ca682e3674e66f2fe837f62620 /testsuite/tests/simplCore
parent377672ae068f6dbfa0354dfab95f41bdd26b0df4 (diff)
downloadhaskell-a27b2985511800fa3b740fef82ad3da9c8683302.tar.gz
Use exprIsLambda_maybe in match
when matching a lambda in the template against an expression. When matching, look through coercions (only for value lambdas for now), and look through currently active unfoldings, if these are undersaturated, i.e. produce a lambda. This replaces the existing, somewhat fishy eta-expansion.
Diffstat (limited to 'testsuite/tests/simplCore')
-rw-r--r--testsuite/tests/simplCore/should_run/all.T2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/simplCore/should_run/all.T b/testsuite/tests/simplCore/should_run/all.T
index 6f5751e84b..fa11dc542f 100644
--- a/testsuite/tests/simplCore/should_run/all.T
+++ b/testsuite/tests/simplCore/should_run/all.T
@@ -51,7 +51,7 @@ test('T5453', normal, compile_and_run, [''])
test('T5441', extra_clean(['T5441a.o','T5441a.hi']),
multimod_compile_and_run, ['T5441',''])
test('T5603', normal, compile_and_run, [''])
-test('T2110', expect_broken(2110), compile_and_run, [''])
+test('T2110', normal, compile_and_run, [''])
# Run these tests *without* optimisation too
test('T5625', [ only_ways(['normal','optasm']), exit_code(1) ], compile_and_run, [''])