Ticket #4174 (closed bug: fixed)
Jumbled error message from type family operator
| Reported by: | lilac | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0.1 |
| Component: | Compiler (Type checker) | Version: | 6.12.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Incorrect warning at compile-time | Difficulty: | |
| Test Case: | indexed-types/should_fail/T4174 | Blocked By: | |
| Blocking: | Related Tickets: |
Description
The attached file produces this error message:
Testcase.hs:82:0:
Couldn't match expected type `True'
against inferred type `Main.R::<=:GHC6'10GHC6'8 Minor1 minor'
When generalising the type(s) for `testcase'
That should say
[...] against inferred type `GHC6'10 Minor1 :<=: GHC6'8 minor'
Apologies for the complexity of the testcase; simpler testcases seem to not reproduce the problem.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

