[GHC] #5939: Standalone deriving Generic on type with instantiated arguments
GHC
cvs-ghc at haskell.org
Wed Jun 6 15:45:24 CEST 2012
#5939: Standalone deriving Generic on type with instantiated arguments
------------------------------+---------------------------------------------
Reporter: dreixel | Owner: dreixel
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.5 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
Comment(by dreixel):
Actually I now think we should reject these altogether, because I cannot
see a reasonable use case for it (unless the datatype is a data family).
If no one objects, I'll treat the current behaviour as a bug and add a
check that will prevent deriving `Generic` on types with instantiated
arguments.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5939#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list