
#11652: Cyclical dependencies aren't reported in pure functions -------------------------------------+------------------------------------- Reporter: keynan | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: GHC accepts | Unknown/Multiple invalid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonpj): * type: bug => feature request Comment: It's a feature request, but yes even a (necessarily) partial check would be good. In this case it's harder because `(+)` is overloaded, so in principle mutual recursion might be just fine. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11652#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler