[GHC] #13415: Instance declarations don't recognize named wildcards

GHC ghc-devs at haskell.org
Mon Mar 20 08:38:54 UTC 2017


#13415: Instance declarations don't recognize named wildcards
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler (Type    |              Version:  8.0.1
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13324            |  Differential Rev(s):  Phab:D3332
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 > will get the immediate benefit of having better error messages

 Why will the error messages get better? Can you give an example?  Is that
 an argument for putting wildcards everywhere?  Why couldn't we just
 improve the error messages for `LHsSigType`?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13415#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list