Only allow (a => b) :: Constraint rather than CONSTRAINT rep
Fixes #25243 (cherry picked from commit 92f8939a)
Showing
- compiler/GHC/Tc/Gen/HsType.hs 36 additions, 20 deletionscompiler/GHC/Tc/Gen/HsType.hs
- testsuite/tests/quantified-constraints/T25243.hs 8 additions, 0 deletionstestsuite/tests/quantified-constraints/T25243.hs
- testsuite/tests/quantified-constraints/T25243.stderr 6 additions, 0 deletionstestsuite/tests/quantified-constraints/T25243.stderr
- testsuite/tests/quantified-constraints/all.T 1 addition, 0 deletionstestsuite/tests/quantified-constraints/all.T
- testsuite/tests/rename/should_fail/rnfail026.stderr 2 additions, 2 deletionstestsuite/tests/rename/should_fail/rnfail026.stderr
Loading
Please register or sign in to comment