[commit: ghc] ghc-8.0: Fix #11246. (6133d58)

git at git.haskell.org git at git.haskell.org
Thu Feb 18 12:03:48 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/6133d58121ce80d3b481eaee2a008c6086aa2f0d/ghc

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

commit 6133d58121ce80d3b481eaee2a008c6086aa2f0d
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Wed Feb 10 09:09:26 2016 -0500

    Fix #11246.
    
    We have to instantiate any invisible arguments to type families
    right away. This is now done in tcTyCon in TcHsType.
    
    testcase: typecheck/should_compile/T11246
    (cherry picked from commit 489e6ab5990f0f37624f14d6bf3f0025476513a1)


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

6133d58121ce80d3b481eaee2a008c6086aa2f0d
 compiler/typecheck/TcHsType.hs                     | 47 ++++++++++++++--------
 compiler/typecheck/TcTyClsDecls.hs                 | 47 +++++++++++++---------
 compiler/types/TyCon.hs                            | 10 +++--
 testsuite/tests/typecheck/should_compile/T11246.hs |  5 +++
 testsuite/tests/typecheck/should_compile/all.T     |  1 +
 5 files changed, 72 insertions(+), 38 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 6133d58121ce80d3b481eaee2a008c6086aa2f0d


More information about the ghc-commits mailing list