Improve error handling in TcRnMonad
See Note [Constraints and errors] in TcRnMonad. This patch fixes Trac #12124 in quite a neat way.
Showing
- compiler/typecheck/TcRnMonad.hs 37 additions, 23 deletionscompiler/typecheck/TcRnMonad.hs
- compiler/typecheck/TcSplice.hs 1 addition, 1 deletioncompiler/typecheck/TcSplice.hs
- testsuite/tests/typecheck/should_fail/CustomTypeErrors02.stderr 0 additions, 5 deletions...ite/tests/typecheck/should_fail/CustomTypeErrors02.stderr
- testsuite/tests/typecheck/should_fail/T12124.hs 8 additions, 0 deletionstestsuite/tests/typecheck/should_fail/T12124.hs
- testsuite/tests/typecheck/should_fail/T12124.srderr 1 addition, 0 deletionstestsuite/tests/typecheck/should_fail/T12124.srderr
- testsuite/tests/typecheck/should_fail/T12124.stderr 9 additions, 0 deletionstestsuite/tests/typecheck/should_fail/T12124.stderr
- testsuite/tests/typecheck/should_fail/T8142.stderr 0 additions, 10 deletionstestsuite/tests/typecheck/should_fail/T8142.stderr
- testsuite/tests/typecheck/should_fail/all.T 1 addition, 0 deletionstestsuite/tests/typecheck/should_fail/all.T
Loading
Please register or sign in to comment