[GHC] #15552: Infinite loop/panic with an existential type.

GHC ghc-devs at haskell.org
Mon Aug 27 22:13:15 UTC 2018


#15552: Infinite loop/panic with an existential type.
-------------------------------------+-------------------------------------
        Reporter:  howtonotwin       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:  TypeInType,
                                     |  TypeFamilies
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #14723            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 Patch looks fine.

 As for the larger plan: I like all of it, including separating `TcType`
 from `Type`. Could we also remove `TcTyVar` from the `Var` type? Then we
 could statically guarantee that no `TcTyVar`s are in Core.

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


More information about the ghc-tickets mailing list