Kind-check body of a required forall
We now require that in 'forall a -> ty', ty has kind TYPE r for some r. Fixes #24176
Showing
- compiler/GHC/Tc/Gen/HsType.hs 33 additions, 22 deletionscompiler/GHC/Tc/Gen/HsType.hs
- testsuite/tests/dependent/should_fail/T16326_Fail12.stderr 7 additions, 7 deletionstestsuite/tests/dependent/should_fail/T16326_Fail12.stderr
- testsuite/tests/vdq-rta/should_fail/T24176.hs 5 additions, 0 deletionstestsuite/tests/vdq-rta/should_fail/T24176.hs
- testsuite/tests/vdq-rta/should_fail/T24176.stderr 8 additions, 0 deletionstestsuite/tests/vdq-rta/should_fail/T24176.stderr
- testsuite/tests/vdq-rta/should_fail/all.T 2 additions, 1 deletiontestsuite/tests/vdq-rta/should_fail/all.T
Loading
Please register or sign in to comment