Fix #13909 by tweaking an error message.
GHC was complaining about numbers of arguments when the real problem is impredicativity. test case: typecheck/should_fail/T13909
Showing
- compiler/typecheck/TcErrors.hs 6 additions, 1 deletioncompiler/typecheck/TcErrors.hs
- testsuite/tests/typecheck/should_fail/T13909.hs 12 additions, 0 deletionstestsuite/tests/typecheck/should_fail/T13909.hs
- testsuite/tests/typecheck/should_fail/T13909.stderr 5 additions, 0 deletionstestsuite/tests/typecheck/should_fail/T13909.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