summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail
diff options
context:
space:
mode:
authorRichard Eisenberg <rae@richarde.dev>2019-09-25 12:28:40 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-03 12:17:30 -0400
commit6655ec734a51eda91273585d8d8e3d5d308a6628 (patch)
tree1f23c2d5e338b214add96b32899f303a7fcf3fc7 /testsuite/tests/rename/should_fail
parent67bf734c6c118aa7caa06875f253defe8b7dd271 (diff)
downloadhaskell-6655ec734a51eda91273585d8d8e3d5d308a6628.tar.gz
Improve documentation around empty tuples/lists
This patch also changes the way we handle empty lists, simplifying them somewhat. See Note [Empty lists]. Previously, we had to special-case empty lists in the type-checker. Now no more! Finally, this patch improves some documentation around the ir_inst field used in the type-checker. This breaks a test case, but I really think the problem is #17251, not really related to this patch. Test case: typecheck/should_compile/T13680
Diffstat (limited to 'testsuite/tests/rename/should_fail')
-rw-r--r--testsuite/tests/rename/should_fail/T5892a.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/rename/should_fail/T5892a.stderr b/testsuite/tests/rename/should_fail/T5892a.stderr
index 0779538b1e..f1041796d9 100644
--- a/testsuite/tests/rename/should_fail/T5892a.stderr
+++ b/testsuite/tests/rename/should_fail/T5892a.stderr
@@ -4,4 +4,4 @@ T5892a.hs:12:8: error: [-Wmissing-fields (in -Wdefault), -Werror=missing-fields]
• In the expression: Node {..}
In the expression: let rootLabel = [] in Node {..}
In an equation for ‘foo’:
- foo (Node {..}) = let rootLabel = ... in Node {..}
+ foo (Node {..}) = let rootLabel = [] in Node {..}