diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2014-05-23 07:47:17 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2014-05-23 07:49:13 +0100 |
commit | d8d97113c24e7216be36c9cdfc58e91f26528f06 (patch) | |
tree | d1bf8d2c7ead0d63dbefd36dbecb2143905e8802 /testsuite/tests/polykinds/all.T | |
parent | bc58d2e8a9da7cab90e4a06c28197d1d746a06cf (diff) | |
download | haskell-d8d97113c24e7216be36c9cdfc58e91f26528f06.tar.gz |
Make the unifier a fixpoint even for the free kind vars of a tyvar
The (pure) unifier tcUnifyTys returns an idempotent substitution.
But previously the kinds of type variables free in the range of
the subst could have un-substituted kind variables.
This patch fixes that, fixing Trac #9106.
See Note [Finding the substitution fixpoint] in Unify
Diffstat (limited to 'testsuite/tests/polykinds/all.T')
-rw-r--r-- | testsuite/tests/polykinds/all.T | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/all.T b/testsuite/tests/polykinds/all.T index 3634d83537..96faa6725b 100644 --- a/testsuite/tests/polykinds/all.T +++ b/testsuite/tests/polykinds/all.T @@ -100,3 +100,4 @@ test('T8566a', expect_broken(8566), compile,['']) test('T7481', normal, compile_fail,['']) test('T8705', normal, compile, ['']) test('T8985', normal, compile, ['']) +test('T9106', normal, compile_fail, ['']) |