[GHC] #7734: Missing backticks in error message
#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
#7734: Missing backticks in error message ----------------------------------------------+----------------------------- Reporter: monoidal | Owner: Type: bug | Status: patch Priority: normal | Component: Compiler Version: 7.6.2 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Incorrect warning at compile-time | Blockedby: Blocking: | Related: ----------------------------------------------+----------------------------- Changes (by monoidal): * status: new => patch -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7734#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#7734: Missing backticks in error message ----------------------------------------------+----------------------------- Reporter: monoidal | Owner: Type: bug | Status: patch Priority: normal | Component: Compiler Version: 7.6.2 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Incorrect warning at compile-time | Blockedby: Blocking: | Related: ----------------------------------------------+----------------------------- Comment(by ian@…): commit 4348e0b4401047f019f6a1ae89d5906fb628dcaa {{{ Author: Ian Lynagh <ian@well-typed.com> Date: Sun Mar 3 16:30:23 2013 +0000 Fix missing backticks and parentheses in error messages; fixes #7734 Patch from monoidal compiler/hsSyn/HsExpr.lhs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7734#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#7734: Missing backticks in error message ------------------------------------------------+--------------------------- Reporter: monoidal | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.6.2 Resolution: fixed | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Incorrect warning at compile-time | Difficulty: Unknown Testcase: T7734 | Blockedby: Blocking: | Related: ------------------------------------------------+--------------------------- Changes (by igloo): * status: patch => closed * difficulty: => Unknown * resolution: => fixed * testcase: => T7734 * milestone: => 7.8.1 Comment: Applied thanks! -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7734#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC