Fix panics of PartialTypeSignatures combined with extensions
authorThomas Winant <thomas.winant@cs.kuleuven.be>
Mon, 12 Jan 2015 11:29:50 +0000 (05:29 -0600)
committerAustin Seipp <austin@well-typed.com>
Tue, 13 Jan 2015 16:10:38 +0000 (10:10 -0600)
commitc9532f810a82c6395bc08fb77f2a895a50da86b5
tree74fc215f8f41744670719cdeeb7cbd7f530b619d
parent7637810a93441d29bc84bbeeeced0615bbb9d9e4
Fix panics of PartialTypeSignatures combined with extensions

Summary:
Disallow wildcards in stand-alone deriving instances
(StandaloneDeriving), default signatures (DefaultSignatures) and
instances signatures (InstanceSigs).

Test Plan: validate

Reviewers: austin

Reviewed By: austin

Subscribers: carter, thomie, monoidal

Differential Revision: https://phabricator.haskell.org/D595

GHC Trac Issues: #9922
compiler/parser/Parser.y
testsuite/tests/partial-sigs/should_fail/WildcardInDefaultSignature.hs [new file with mode: 0644]
testsuite/tests/partial-sigs/should_fail/WildcardInDefaultSignature.stderr [new file with mode: 0644]
testsuite/tests/partial-sigs/should_fail/WildcardInInstanceSig.hs [new file with mode: 0644]
testsuite/tests/partial-sigs/should_fail/WildcardInInstanceSig.stderr [new file with mode: 0644]
testsuite/tests/partial-sigs/should_fail/WildcardInStandaloneDeriving.hs [new file with mode: 0644]
testsuite/tests/partial-sigs/should_fail/WildcardInStandaloneDeriving.stderr [new file with mode: 0644]
testsuite/tests/partial-sigs/should_fail/all.T