
#11112: Error message for accidentally using -> instead of =>
-------------------------------------+-------------------------------------
Reporter: JulesBean | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
| typecheck/should_fail/tcfail057
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by thomie):
* testcase: => typecheck/should_fail/tcfail057
Comment:
In HEAD, the `GHC.Prim.` bit is gone:
{{{
Expected a type, but ‘Ord s’ has kind ‘Constraint’
In the type signature for ‘Test.sort’:
Test.sort :: Ord s -> [s] -> [s]
}}}
@JulesBean: what do you think about this error message?
The last real change to these error messages was made in commit
8bc6c4a613b5d16118469248cfb8025a5175a174:
{{{
Author: Simon Peyton Jones