Slighty improve `dropMisleading`
Fix #26105, by upgrading the (horrible, hacky) `dropMisleading` function. This fix makes things a bit better but does not cure the underlying problem.
Showing
- compiler/GHC/Tc/Types/Constraint.hs 6 additions, 3 deletionscompiler/GHC/Tc/Types/Constraint.hs
- compiler/GHC/Tc/Utils/Monad.hs 52 additions, 27 deletionscompiler/GHC/Tc/Utils/Monad.hs
- testsuite/tests/typecheck/should_fail/T26015.hs 17 additions, 0 deletionstestsuite/tests/typecheck/should_fail/T26015.hs
- testsuite/tests/typecheck/should_fail/T26015.stderr 9 additions, 0 deletionstestsuite/tests/typecheck/should_fail/T26015.stderr
Loading
Please register or sign in to comment