[commit: ghc] master: Change rewritableTyVarsOfType to anyRewritableTyVar (76244ec)

git at git.haskell.org git at git.haskell.org
Fri Feb 10 14:20:27 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/76244ec2cbdef8e3cd54466ae0b55ecffb81817c/ghc

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

commit 76244ec2cbdef8e3cd54466ae0b55ecffb81817c
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Feb 10 13:54:48 2017 +0000

    Change rewritableTyVarsOfType to anyRewritableTyVar
    
    This fixes the regression in FrozenErrorTests, eliminates the
    awkward "crash on forall" in rewritableTyVars, and makes it more
    efficient too.


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

76244ec2cbdef8e3cd54466ae0b55ecffb81817c
 compiler/typecheck/TcSMonad.hs                     | 56 ++++++++++------------
 compiler/typecheck/TcType.hs                       | 55 +++++++++++++--------
 .../typecheck/should_fail/FrozenErrorTests.stderr  |  5 +-
 3 files changed, 61 insertions(+), 55 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 76244ec2cbdef8e3cd54466ae0b55ecffb81817c


More information about the ghc-commits mailing list