[GHC] #16203: Unhelpful names for wildcard type variables
GHC
ghc-devs at haskell.org
Thu Jan 24 03:15:43 UTC 2019
#16203: Unhelpful names for wildcard type variables
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: goldfire
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.6.3
Resolution: | Keywords:
| PartialTypeSignatures
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by goldfire):
Suppose we have
{{{#!hs
type family F a b where
F _ _ = Bool
}}}
If we reverse the change, I believe we get that GHC reports that the
equation is `F w1 w2 = Bool`. Perhaps that's better than what we have, but
someone has to pay the price.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16203#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list