[GHC] #16255: Visible kind application defeats type family with higher-rank result kind

GHC ghc-devs at haskell.org
Tue Jan 29 22:31:42 UTC 2019


#16255: Visible kind application defeats type family with higher-rank result kind
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.7
  checker)                           |             Keywords:
      Resolution:                    |  TypeApplications, TypeFamilies
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC accepts       |  Unknown/Multiple
  invalid program                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #15740            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Replying to [comment:3 goldfire]:
 > This should probably be done in the validity checker.

 How would that possibly work? By the time we're in the validity checker,
 all we have are `CoAxBranch`es, which don't distinguish between required
 and specified arguments.

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


More information about the ghc-tickets mailing list