Move zonkWC to the right place in simplfyInfer
runTcSWithEvBinds does some unification, so the zonkWC must be after, not before! Yikes. An outright bug. This fixes Trac #14715.
Showing
- compiler/typecheck/TcSimplify.hs 2 additions, 3 deletionscompiler/typecheck/TcSimplify.hs
- testsuite/tests/partial-sigs/should_compile/T14715.hs 19 additions, 0 deletionstestsuite/tests/partial-sigs/should_compile/T14715.hs
- testsuite/tests/partial-sigs/should_compile/T14715.stderr 1 addition, 0 deletionstestsuite/tests/partial-sigs/should_compile/T14715.stderr
- testsuite/tests/partial-sigs/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/partial-sigs/should_compile/all.T
Loading
Please register or sign in to comment