Ticket #7734 (closed bug: fixed)
Missing backticks in error message
| Reported by: | monoidal | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.8.1 |
| Component: | Compiler | Version: | 7.6.2 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Incorrect warning at compile-time | Difficulty: | Unknown |
| Test Case: | T7734 | Blocked By: | |
| Blocking: | Related Tickets: |
Description
The code
x `f` y = x x (&) x y = x x
gives errors with missing backticks and parentheses:
A.hs:1:13:
Occurs check: cannot construct the infinite type: t1 = t1 -> t0
In the first argument of `x', namely `x'
In the expression: x x
In an equation for `f': x f y = x x
^^^^^
A.hs:2:13:
Occurs check: cannot construct the infinite type: t1 = t1 -> t0
In the first argument of `x', namely `x'
In the expression: x x
In an equation for `&': & x y = x x
^^^^^
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

