Fix a buglet in redundant-constraint warnings
Ticket #18036 pointed out that we were reporting a redundant constraint when it really really wasn't. Turned out to be a buglet in the SkolemInfo for the relevant implication constraint. Easily fixed!
Showing
- compiler/GHC/Tc/TyCl/Instance.hs 10 additions, 3 deletionscompiler/GHC/Tc/TyCl/Instance.hs
- testsuite/tests/typecheck/should_compile/T18036.hs 13 additions, 0 deletionstestsuite/tests/typecheck/should_compile/T18036.hs
- testsuite/tests/typecheck/should_compile/T18036a.hs 15 additions, 0 deletionstestsuite/tests/typecheck/should_compile/T18036a.hs
- testsuite/tests/typecheck/should_compile/T18036a.stderr 6 additions, 0 deletionstestsuite/tests/typecheck/should_compile/T18036a.stderr
- testsuite/tests/typecheck/should_compile/all.T 2 additions, 0 deletionstestsuite/tests/typecheck/should_compile/all.T
Loading
Please register or sign in to comment