[GHC] #14042: Misleading error message when type family is used in datatype's return kind
GHC
ghc-devs at haskell.org
Sat Jul 29 13:47:48 UTC 2017
#14042: Misleading error message when type family is used in datatype's return kind
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (Type | Version: 8.0.1
checker) | Keywords: TypeInType,
Resolution: | TypeFamilies, newcomer
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 goldfire):
What would you like the error message to say? It looks correct to me.
Perhaps it could have an "NB: no type functions" or something, but it's
not too far off.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14042#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list