Bump TcLevel of failing kind equality implication
Not bumping the TcLevel meant that we could end up trying to add evidence terms for the implication constraint created to wrap failing kind equalities (to avoid their deferral). fixes #20043
Showing
- compiler/GHC/Tc/Solver.hs 28 additions, 8 deletionscompiler/GHC/Tc/Solver.hs
- testsuite/tests/typecheck/should_fail/T20043.hs 21 additions, 0 deletionstestsuite/tests/typecheck/should_fail/T20043.hs
- testsuite/tests/typecheck/should_fail/T20043.stderr 6 additions, 0 deletionstestsuite/tests/typecheck/should_fail/T20043.stderr
- testsuite/tests/typecheck/should_fail/all.T 1 addition, 0 deletionstestsuite/tests/typecheck/should_fail/all.T
Loading
Please register or sign in to comment