[GHC] #16008: GHC HEAD type family regression involving invisible arguments

GHC ghc-devs at haskell.org
Mon Dec 10 19:39:34 UTC 2018


#16008: GHC HEAD type family regression involving invisible arguments
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.8.1
       Component:  Compiler (Type    |              Version:  8.7
  checker)                           |             Keywords:  TypeFamilies,
      Resolution:                    |  TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 I know Simon strongly disliked that `Maybe (VarEnv Kind)` getting too far
 from TcTyClsDecls.

 Could you just add a call to `addConsistencyConstraints` to `tc_lhs`? I
 also think that the new `checkExpectedKind` from Phab:D5229 will fix this
 handily.

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


More information about the ghc-tickets mailing list