[GHC] #12792: Wrong error message when using a data type as a class instance head
GHC
ghc-devs at haskell.org
Wed Nov 30 15:25:07 UTC 2016
#12792: Wrong error message when using a data type as a class instance head
-------------------------------------+-------------------------------------
Reporter: nomeata | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect | Unknown/Multiple
error/warning at compile-time | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by nomeata):
Do we need full kind-checking?
The renamer already knows the concrete TyCon that is heading the instance.
Shouldn’t `isClassTyCon` be sufficient here?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12792#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list