summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T14048c.stderr
diff options
context:
space:
mode:
authorRichard Eisenberg <rae@richarde.dev>2019-08-18 16:02:50 +0200
committerRichard Eisenberg <rae@richarde.dev>2020-03-17 13:46:57 +0000
commit53ff2cd0c49735e8f709ac8a5ceab68483eb89df (patch)
tree2c22014de33e6d0fcdfef7e5436ff0abc7e0fca1 /testsuite/tests/typecheck/should_fail/T14048c.stderr
parent75168d07c9c30289709423fc184bbab8dcad0f4e (diff)
downloadhaskell-53ff2cd0c49735e8f709ac8a5ceab68483eb89df.tar.gz
Fix #17021 by checking more return kinds
All the details are in new Note [Datatype return kinds] in TcTyClsDecls. Test case: typecheck/should_fail/T17021{,b} typecheck/should_compile/T17021a Updates haddock submodule
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T14048c.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T14048c.stderr3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T14048c.stderr b/testsuite/tests/typecheck/should_fail/T14048c.stderr
index a0465fe4fc..e1bb372958 100644
--- a/testsuite/tests/typecheck/should_fail/T14048c.stderr
+++ b/testsuite/tests/typecheck/should_fail/T14048c.stderr
@@ -1,5 +1,4 @@
T14048c.hs:9:1: error:
- • Kind signature on data instance declaration has non-*
- return kind ‘Constraint’
+ • Data instance has non-* return kind ‘Constraint’
• In the data instance declaration for ‘Foo’