[commit: ghc] wip/rae: Fix #11246. (20d9c3a)
git at git.haskell.org
git at git.haskell.org
Tue Feb 16 17:12:11 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/rae
Link : http://ghc.haskell.org/trac/ghc/changeset/20d9c3aa303f954dccc1e2865e1e87775750660c/ghc
>---------------------------------------------------------------
commit 20d9c3aa303f954dccc1e2865e1e87775750660c
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
>---------------------------------------------------------------
20d9c3aa303f954dccc1e2865e1e87775750660c
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 20d9c3aa303f954dccc1e2865e1e87775750660c
More information about the ghc-commits
mailing list