summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr
diff options
context:
space:
mode:
authorThomas Winant <thomas.winant@cs.kuleuven.be>2014-11-28 16:08:10 -0600
committerAustin Seipp <austin@well-typed.com>2014-11-28 17:17:17 -0600
commitd831b6f41b3b89dc4a643069d5668c05a20f3c37 (patch)
tree4f717db36c841619324cd210b9146ed8db671869 /testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr
parent7460dafae3709218af651cb8bc47b5f03d4c25c7 (diff)
downloadhaskell-d831b6f41b3b89dc4a643069d5668c05a20f3c37.tar.gz
Implement Partial Type Signatures
Summary: Add support for Partial Type Signatures, i.e. holes in types, see: https://ghc.haskell.org/trac/ghc/wiki/PartialTypeSignatures This requires an update to the Haddock submodule. Test Plan: validate Reviewers: austin, goldfire, simonpj Reviewed By: simonpj Subscribers: thomie, Iceland_jack, dominique.devriese, simonmar, carter, goldfire Differential Revision: https://phabricator.haskell.org/D168 GHC Trac Issues: #9478
Diffstat (limited to 'testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr')
-rw-r--r--testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr
new file mode 100644
index 0000000000..3b96a38fe2
--- /dev/null
+++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr
@@ -0,0 +1,6 @@
+
+ExtraConstraintsWildcardNotLast.hs:4:9:
+ Invalid partial type signature:
+ (_, Eq a) => a -> a
+ An extra-constraints wildcard is only allowed
+ at the end of the constraints