[commit: ghc] wip/rae: Fix #11246. (489e6ab)

git at git.haskell.org git at git.haskell.org
Wed Feb 17 18:16:24 UTC 2016


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

On branch  : wip/rae
Link       : http://ghc.haskell.org/trac/ghc/changeset/489e6ab5990f0f37624f14d6bf3f0025476513a1/ghc

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

commit 489e6ab5990f0f37624f14d6bf3f0025476513a1
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


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

489e6ab5990f0f37624f14d6bf3f0025476513a1
 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 489e6ab5990f0f37624f14d6bf3f0025476513a1


More information about the ghc-commits mailing list