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 (cherry picked from commit c9532f81)
Showing
- compiler/parser/Parser.y 13 additions, 2 deletionscompiler/parser/Parser.y
- testsuite/tests/partial-sigs/should_fail/WildcardInDefaultSignature.hs 4 additions, 0 deletions...ts/partial-sigs/should_fail/WildcardInDefaultSignature.hs
- testsuite/tests/partial-sigs/should_fail/WildcardInDefaultSignature.stderr 4 additions, 0 deletions...artial-sigs/should_fail/WildcardInDefaultSignature.stderr
- testsuite/tests/partial-sigs/should_fail/WildcardInInstanceSig.hs 4 additions, 0 deletions...e/tests/partial-sigs/should_fail/WildcardInInstanceSig.hs
- testsuite/tests/partial-sigs/should_fail/WildcardInInstanceSig.stderr 4 additions, 0 deletions...sts/partial-sigs/should_fail/WildcardInInstanceSig.stderr
- testsuite/tests/partial-sigs/should_fail/WildcardInStandaloneDeriving.hs 4 additions, 0 deletions.../partial-sigs/should_fail/WildcardInStandaloneDeriving.hs
- testsuite/tests/partial-sigs/should_fail/WildcardInStandaloneDeriving.stderr 4 additions, 0 deletions...tial-sigs/should_fail/WildcardInStandaloneDeriving.stderr
- testsuite/tests/partial-sigs/should_fail/all.T 3 additions, 0 deletionstestsuite/tests/partial-sigs/should_fail/all.T
Please register or sign in to comment