closeOverKinds *before* oclose in coverage check
Combining functional dependencies with kind-polymorphism is devilishly tricky! It's all documented in Note [Closing over kinds in coverage] Fixes Trac #10564 (cherry picked from commit 7c07cf16)
Showing
- compiler/typecheck/FunDeps.hs 70 additions, 16 deletionscompiler/typecheck/FunDeps.hs
- testsuite/tests/typecheck/should_compile/T10564.hs 20 additions, 0 deletionstestsuite/tests/typecheck/should_compile/T10564.hs
- testsuite/tests/typecheck/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/typecheck/should_compile/all.T
Loading
Please register or sign in to comment