diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2012-05-16 11:13:52 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2012-05-16 11:13:52 +0100 |
commit | 969f8b728be0a2fec8263e8866295776c993394b (patch) | |
tree | b4541efbf55f92294d29486a36ac7a54b3ba9a32 /utils/ghc-cabal/ghc.mk | |
parent | ebcad7641a1e37e2e4abd7f513feb10c4ee458bc (diff) | |
download | haskell-969f8b728be0a2fec8263e8866295776c993394b.tar.gz |
Be careful to instantiate kind variables when dealing with functional dependencies
There were really two bugs
a) When the fundep fires we must apply the matching
substitution to the kinds of the remaining type vars
(This happens in FunDeps.checkClsFD, when we create meta_tvs)
b) When instantiating the un-matched type variables we must
instantiate their kinds properly
(This happens in TcSMonad.instFlexiTcS)
This fixes #6068 and #6015 (second reported bug).
Diffstat (limited to 'utils/ghc-cabal/ghc.mk')
0 files changed, 0 insertions, 0 deletions