
#12466: Typechecker regression: Inaccessible code in a type expected by the context -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: Type: bug | Status: new Priority: highest | Milestone: 8.2.1 Component: Compiler (Type | Version: 8.1 checker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects | Unknown/Multiple valid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): This example isn't using `DefaultSignatures` at all. That is, it's using a default method (which is Haskell 98), but not a //generic// default method (which requires a language extension). Moreover, the (non-generic) default method I gave is //exactly// the same as the manual implementation, yet one typechecks and the other doesn't. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12466#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler