Project 'TerrorJack/ghc' was moved to 'haskell-wasm/ghc'. Please update any links and bookmarks that may still have the old path.
Improve error messages from functional dependencies
Reponding to Trac #9612: * Track the CtOrigin of a Derived equality, arising from a functional dependency * And report it clearly in the error stream This relies on a previous commit, in which I stop dropping Derived insolubles on the floor.
Showing
- compiler/typecheck/FunDeps.lhs 12 additions, 9 deletionscompiler/typecheck/FunDeps.lhs
- compiler/typecheck/TcErrors.lhs 44 additions, 25 deletionscompiler/typecheck/TcErrors.lhs
- compiler/typecheck/TcInteract.lhs 23 additions, 9 deletionscompiler/typecheck/TcInteract.lhs
- compiler/typecheck/TcRnTypes.lhs 94 additions, 54 deletionscompiler/typecheck/TcRnTypes.lhs
- compiler/typecheck/TcUnify.lhs 2 additions, 2 deletionscompiler/typecheck/TcUnify.lhs
- testsuite/tests/typecheck/should_compile/FD3.stderr 14 additions, 5 deletionstestsuite/tests/typecheck/should_compile/FD3.stderr
- testsuite/tests/typecheck/should_fail/FDsFromGivens.stderr 12 additions, 10 deletionstestsuite/tests/typecheck/should_fail/FDsFromGivens.stderr
- testsuite/tests/typecheck/should_fail/T5236.stderr 10 additions, 5 deletionstestsuite/tests/typecheck/should_fail/T5236.stderr
- testsuite/tests/typecheck/should_fail/T5978.stderr 8 additions, 5 deletionstestsuite/tests/typecheck/should_fail/T5978.stderr
- testsuite/tests/typecheck/should_fail/T9612.hs 20 additions, 0 deletionstestsuite/tests/typecheck/should_fail/T9612.hs
- testsuite/tests/typecheck/should_fail/T9612.stderr 20 additions, 0 deletionstestsuite/tests/typecheck/should_fail/T9612.stderr
- testsuite/tests/typecheck/should_fail/all.T 1 addition, 0 deletionstestsuite/tests/typecheck/should_fail/all.T
- testsuite/tests/typecheck/should_fail/tcfail143.stderr 8 additions, 5 deletionstestsuite/tests/typecheck/should_fail/tcfail143.stderr
Loading
Please register or sign in to comment