[GHC] #7609: Backticks in an an error message

#7609: Backticks in an an error message ----------------------------------------------+----------------------------- Reporter: monoidal | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.6.1 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Incorrect warning at compile-time | Blockedby: Blocking: | Related: ----------------------------------------------+----------------------------- {{{ {-# LANGUAGE TypeOperators #-} data X a b f :: (a `X` a, Maybe) f = undefined }}} gives an error message: {{{ X.hs:4:16: Expecting one more argument to `Maybe' In the type signature for `f': f :: (a X a, Maybe) ^^^^^ }}} which should be {{{a `X` a}}}. The same thing happens in constraints, such as {{{ f :: (a `X` a) => Maybe }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7609 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7609: Backticks in an an error message
----------------------------------------------+-----------------------------
Reporter: monoidal | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.6.1 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Incorrect warning at compile-time | Blockedby:
Blocking: | Related:
----------------------------------------------+-----------------------------
Comment(by simonpj@…):
commit 79dae93f36301e1f0ee796d5c9f7967b588cb601
{{{
Author: Simon Peyton Jones

#7609: Backticks in an an error message ------------------------------------------------+--------------------------- Reporter: monoidal | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.1 Resolution: fixed | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Incorrect warning at compile-time | Difficulty: Unknown Testcase: typecheck/should_fail/T7609 | Blockedby: Blocking: | Related: ------------------------------------------------+--------------------------- Changes (by simonpj): * status: new => closed * difficulty: => Unknown * resolution: => fixed * testcase: => typecheck/should_fail/T7609 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7609#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC