[commit: ghc] master: Refine the suppression of RuntimeRep variables (5f2a879)

git at git.haskell.org git at git.haskell.org
Thu Dec 20 15:02:23 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5f2a8793514918eaa670347ce0d95dfdbbdd4f4d/ghc

>---------------------------------------------------------------

commit 5f2a8793514918eaa670347ce0d95dfdbbdd4f4d
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Thu Dec 20 14:05:27 2018 +0000

    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]


>---------------------------------------------------------------

5f2a8793514918eaa670347ce0d95dfdbbdd4f4d
 compiler/iface/IfaceType.hs                        | 133 ++++++++++++---------
 testsuite/tests/typecheck/should_fail/T16074.hs    |  10 ++
 .../tests/typecheck/should_fail/T16074.stderr      |  17 +++
 testsuite/tests/typecheck/should_fail/all.T        |   1 +
 4 files changed, 105 insertions(+), 56 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 5f2a8793514918eaa670347ce0d95dfdbbdd4f4d


More information about the ghc-commits mailing list