[commit: ghc] master: Fix generalisation for type constructors (4de4b22)

git at git.haskell.org git at git.haskell.org
Fri Oct 26 13:05:02 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/4de4b2253caa685a39cc654d553cdf63b8babbee/ghc

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

commit 4de4b2253caa685a39cc654d553cdf63b8babbee
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Thu Oct 25 15:16:19 2018 +0100

    Fix generalisation for type constructors
    
    Fixing the way that we close-over-kinds when taking the
    free vars of a type revealed that the way we generalise
    type constructors was a bit wrong.
    
    This fixes it.  See TcTyClDecls
    Note [Generalisation for type constructors]


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

4de4b2253caa685a39cc654d553cdf63b8babbee
 compiler/typecheck/TcTyClsDecls.hs | 58 +++++++++++++++++++++---
 compiler/typecheck/TcValidity.hs   | 92 +++++++++++++++-----------------------
 2 files changed, 86 insertions(+), 64 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 4de4b2253caa685a39cc654d553cdf63b8babbee


More information about the ghc-commits mailing list