Fix #15415 and simplify tcWildCardBinders
authorVladislav Zavialov <vlad.z.4096@gmail.com>
Wed, 1 Aug 2018 18:28:16 +0000 (14:28 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 1 Aug 2018 23:40:45 +0000 (19:40 -0400)
commita97ead78b76bfd914adb7c5b331ee364fc6f1928
tree8a0c4bf8775a3bd9c66b09ffe990b70d62efd4bd
parentc9be85961829845b2442fba74dc61c3e8cbad09f
Fix #15415 and simplify tcWildCardBinders

Test Plan: Validate

Reviewers: goldfire, simonpj, bgamari

Reviewed By: simonpj

Subscribers: RyanGlScott, rwbarton, thomie, carter

GHC Trac Issues: #15415

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

(cherry picked from commit 120cc9f85ee1120072eb44c5bf37ac3055883605)
compiler/typecheck/TcHsType.hs
compiler/typecheck/TcRnDriver.hs
testsuite/tests/partial-sigs/should_run/GHCiWildcardKind.script
testsuite/tests/partial-sigs/should_run/T15415.script [new file with mode: 0644]
testsuite/tests/partial-sigs/should_run/T15415.stderr [new file with mode: 0644]
testsuite/tests/partial-sigs/should_run/T15415.stdout [new file with mode: 0644]
testsuite/tests/partial-sigs/should_run/all.T
testsuite/tests/unboxedsums/T12711.script