[GHC] #13998: Default Signature messes up arity of type constructor

GHC ghc-devs at haskell.org
Wed Jul 19 16:01:09 UTC 2017


#13998: Default Signature messes up arity of type constructor
-------------------------------------+-------------------------------------
        Reporter:  andrewthad        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
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 simonpj):

 Yes: the visiblity of the `k` type parameter for `$dmeqForAllPoly` is
 somehow inconsistent with that of the class.

 See `Note [TyBinders and ArgFlags]` in `TyCoRep`.

 I have a fix in progress.  As usual you have nailed the right place.

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


More information about the ghc-tickets mailing list