[GHC] #16362: Deriving a class via an instance that has a TypeError constraint using standalone deriving fails during compilation.
GHC
ghc-devs at haskell.org
Mon Feb 25 00:01:41 UTC 2019
#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 RyanGlScott):
I don't think I'm qualified to say. I've never been clear on what exactly
the semantics of `TypeError` actually //intended// to be, so it's anyone's
guess as to whether this is a bug or a feature.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16362#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list