[commit: ghc] master: Zonk properly when checkig pattern synonyms (0ce858e)

git at git.haskell.org git at git.haskell.org
Tue Oct 27 13:25:24 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/0ce858e571f0f8f378f2b04f8d924d1fafeafdd1/ghc

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

commit 0ce858e571f0f8f378f2b04f8d924d1fafeafdd1
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Oct 27 13:27:42 2015 +0000

    Zonk properly when checkig pattern synonyms
    
    Fixes Trac #10997
    
    Merge to stable branch


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

0ce858e571f0f8f378f2b04f8d924d1fafeafdd1
 compiler/typecheck/TcPatSyn.hs                     | 49 ++++++++++++++--------
 compiler/typecheck/TcUnify.hs                      | 39 ++++++++++-------
 testsuite/tests/patsyn/should_compile/T10997.hs    |  6 +++
 .../should_compile/T10997_1.hs}                    |  4 +-
 .../should_compile/T10997_1a.hs}                   |  2 +-
 testsuite/tests/patsyn/should_compile/T10997a.hs   | 11 +++++
 testsuite/tests/patsyn/should_compile/all.T        |  4 ++
 testsuite/tests/typecheck/should_compile/all.T     |  2 -
 8 files changed, 80 insertions(+), 37 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 0ce858e571f0f8f378f2b04f8d924d1fafeafdd1


More information about the ghc-commits mailing list