diff options
author | Thomas Winant <thomas.winant@cs.kuleuven.be> | 2014-11-28 16:08:10 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-11-28 17:17:17 -0600 |
commit | d831b6f41b3b89dc4a643069d5668c05a20f3c37 (patch) | |
tree | 4f717db36c841619324cd210b9146ed8db671869 /testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature.stderr | |
parent | 7460dafae3709218af651cb8bc47b5f03d4c25c7 (diff) | |
download | haskell-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/PartialClassMethodSignature.stderr')
-rw-r--r-- | testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature.stderr | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature.stderr b/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature.stderr new file mode 100644 index 0000000000..c6a878878e --- /dev/null +++ b/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature.stderr @@ -0,0 +1,5 @@ + +PartialClassMethodSignature.hs:6:17: + The type signature of a class method cannot be partial: + foo :: (Eq a, _) => a -> _ + In the class declaration for ‘Foo’ |