Allow typed holes to be levity-polymorphic
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 26 Aug 2016 16:24:10 +0000 (17:24 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 26 Aug 2016 16:35:38 +0000 (17:35 +0100)
commitae66f356fb0dbf79dab1074d71275904c448b329
tree1e5a11c7c3d9fab3272a86c1eea3d7405dd2f954
parent1083f453dd296d4336899893518c65ae5113dc3e
Allow typed holes to be levity-polymorphic

This one-line change fixes Trac #12531.  Hooray.

Simple, non-invasive; can merge to 8.0.2
compiler/typecheck/TcExpr.hs
testsuite/tests/partial-sigs/should_compile/12531.stderr [new file with mode: 0644]
testsuite/tests/partial-sigs/should_compile/T12531.hs [new file with mode: 0644]
testsuite/tests/partial-sigs/should_compile/all.T