Fix unused-given-constraint bug
This bug was shown up by Trac #14237. It turned out to be an outright error in TcSimplify.neededEvVars, easily fixed. I improved the comments.
Showing
- compiler/typecheck/TcEvidence.hs 2 additions, 0 deletionscompiler/typecheck/TcEvidence.hs
- compiler/typecheck/TcSimplify.hs 13 additions, 2 deletionscompiler/typecheck/TcSimplify.hs
- testsuite/tests/indexed-types/should_compile/T14237.hs 7 additions, 0 deletionstestsuite/tests/indexed-types/should_compile/T14237.hs
- testsuite/tests/indexed-types/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/indexed-types/should_compile/all.T
Loading
Please register or sign in to comment