Fix over-eager implication constraint discard
Ticket #16247 showed that we were discarding an implication constraint that had empty ic_wanted, when we still needed to keep it so we could check whether it had a bad telescope. Happily it's a one line fix. All the rest is comments!
Showing
- compiler/typecheck/TcHsType.hs 2 additions, 0 deletionscompiler/typecheck/TcHsType.hs
- compiler/typecheck/TcRnTypes.hs 39 additions, 5 deletionscompiler/typecheck/TcRnTypes.hs
- compiler/typecheck/TcUnify.hs 7 additions, 0 deletionscompiler/typecheck/TcUnify.hs
- testsuite/tests/polykinds/T16247.hs 10 additions, 0 deletionstestsuite/tests/polykinds/T16247.hs
- testsuite/tests/polykinds/T16247.stderr 7 additions, 0 deletionstestsuite/tests/polykinds/T16247.stderr
- testsuite/tests/polykinds/T16247a.hs 23 additions, 0 deletionstestsuite/tests/polykinds/T16247a.hs
- testsuite/tests/polykinds/T16247a.stderr 8 additions, 0 deletionstestsuite/tests/polykinds/T16247a.stderr
- testsuite/tests/polykinds/all.T 2 additions, 0 deletionstestsuite/tests/polykinds/all.T
Loading
Please register or sign in to comment