[GHC] #16110: Explicit foralls in associated type family defaults are completely ignored?

GHC ghc-devs at haskell.org
Wed Jan 9 16:00:33 UTC 2019


#16110: Explicit foralls in associated type family defaults are completely ignored?
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.7
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC accepts       |  Unknown/Multiple
  invalid program                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 Not necessarily. We could always just check during conversion that there
 are no binders for type family defaults. I don't think it's a big deal.

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


More information about the ghc-tickets mailing list