[GHC] #7697: (=>) works on non-constraints

#7697: (=>) works on non-constraints ----------------------------------------+----------------------------------- Reporter: monoidal | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.6.2 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: GHC accepts invalid program | Blockedby: Blocking: | Related: ----------------------------------------+----------------------------------- {{{ f :: Int => Int f = id }}} compiles in 7.6 and HEAD. It shouldn't? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7697 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7697: (=>) works on non-constraints
----------------------------------------+-----------------------------------
Reporter: monoidal | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.6.2 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: GHC accepts invalid program | Blockedby:
Blocking: | Related:
----------------------------------------+-----------------------------------
Comment(by simonpj@…):
commit 24a0e442ed928e363c594c6389a72852b393b3f9
{{{
Author: Simon Peyton Jones

#7697: (=>) works on non-constraints ------------------------------------------+--------------------------------- Reporter: monoidal | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.2 Resolution: fixed | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: GHC accepts invalid program | Difficulty: Unknown Testcase: typecheck/should_fail/T7697 | Blockedby: Blocking: | Related: ------------------------------------------+--------------------------------- Changes (by simonpj): * status: new => closed * difficulty: => Unknown * resolution: => fixed * testcase: => typecheck/should_fail/T7697 Comment: Good catch, thank you! Simon -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7697#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC