
#16362: Deriving a class via an instance that has a TypeError constraint using standalone deriving fails during compilation. -------------------------------------+------------------------------------- Reporter: j9794 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: TypeErrors 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 j9794): Thanks for the prompt response and for the explanation!. So, is it expected behavior or an unintended consequence of how TypeError is treated? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16362#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler