[commit: ghc] ghc-7.10: Zonk properly when checkig pattern synonyms (5144990)

git at git.haskell.org git at git.haskell.org
Tue Oct 27 23:25:44 UTC 2015


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

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/5144990c5a4ef44397d3a2eddd0c4308b5fe7195/ghc

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

commit 5144990c5a4ef44397d3a2eddd0c4308b5fe7195
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


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

5144990c5a4ef44397d3a2eddd0c4308b5fe7195
 compiler/typecheck/TcPatSyn.hs                     | 55 +++++++++++++++-------
 compiler/typecheck/TcUnify.hs                      | 47 +++++++++---------
 testsuite/tests/patsyn/should_compile/T10997.hs    |  6 +++
 testsuite/tests/patsyn/should_compile/T10997_1.hs  | 15 ++++++
 testsuite/tests/patsyn/should_compile/T10997_1a.hs | 17 +++++++
 testsuite/tests/patsyn/should_compile/T10997a.hs   | 11 +++++
 testsuite/tests/patsyn/should_compile/all.T        |  4 ++
 7 files changed, 115 insertions(+), 40 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 5144990c5a4ef44397d3a2eddd0c4308b5fe7195


More information about the ghc-commits mailing list