[GHC] #7734: Missing backticks in error message
GHC
cvs-ghc at haskell.org
Sun Mar 3 11:59:12 CET 2013
#7734: Missing backticks in error message
----------------------------------------------+-----------------------------
Reporter: monoidal | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.6.2 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Incorrect warning at compile-time | Blockedby:
Blocking: | Related:
----------------------------------------------+-----------------------------
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
^^^^^
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7734>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list