Add derived constraints for wildcard signatures
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 3 Dec 2015 13:03:07 +0000 (13:03 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 4 Dec 2015 14:21:28 +0000 (14:21 +0000)
commit28035c0900f8d535e0b03d4c2aa0c79ba728436d
treed8f07c1dc0385694a00b9e9e2d4e9ea39c6ab1b4
parent1c9fd3f1c5522372fcaf250c805b959e8090a62c
Add derived constraints for wildcard signatures

This fixes Trac #11016

See Note [Add deriveds for signature contexts] in TcSimplify]
compiler/typecheck/TcSimplify.hs
testsuite/tests/partial-sigs/should_compile/T11016.hs [new file with mode: 0644]
testsuite/tests/partial-sigs/should_compile/T11016.stderr [new file with mode: 0644]
testsuite/tests/partial-sigs/should_compile/all.T