
#10134: Pattern Matching Causes Infinite Type Error -------------------------------------+------------------------------------- Reporter: dongen | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.8.4 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by simonpj): * status: new => closed * resolution: => fixed Comment: Wonky or not, GHC ought to be able to solve `t0 ~ (t0 + 1) - 1`. And indeed it is fine with GHC 7.10 and HEAD. So I'll add this nicely-reduced test (thank you) as a regression test, and close the ticket. I hope that CLASH compiles ok with 7.10! Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10134#comment:21 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler