Refine the suppression of RuntimeRep variables
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 20 Dec 2018 14:05:27 +0000 (14:05 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 20 Dec 2018 14:07:16 +0000 (14:07 +0000)
commit5f2a8793514918eaa670347ce0d95dfdbbdd4f4d
tree0e0d20ea28632554b2576fe1a23524649223d9bd
parenta1c3ad0450baedadc223969dd2b09f59872a38e7
Refine the suppression of RuntimeRep variables

When we pretty-print types, we suppress RuntimeRep variables, but
we were being too aggressive in doing so, resulting in Trac #16074.

This patch makes the suppression a bit less aggressive.
See Note [Defaulting RuntimeRep variables]
compiler/iface/IfaceType.hs
testsuite/tests/typecheck/should_fail/T16074.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_fail/T16074.stderr [new file with mode: 0644]
testsuite/tests/typecheck/should_fail/all.T