[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:22:14 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: |
-------------------------------------+-------------------------------------
Changes (by simonpj):
* keywords: newcomer =>
Comment:
I sort of agree but it's architecturally difficult.
* The "not a visible method" message comes from the renamer
* The kind error comes from the type checker
It's not clear to me how to make the latter suppress the former.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12792#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list