[GHC] #11518: Test TcCoercibleFail hangs with substitution sanity checks enabled

GHC ghc-devs at haskell.org
Mon Feb 1 08:34:31 UTC 2016


#11518: Test TcCoercibleFail hangs with substitution sanity checks enabled
-------------------------------------+-------------------------------------
        Reporter:  niteria           |                Owner:  niteria
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.1
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 OK.  If the reason that the ASSERT gets exponentially expensive is that
 the types get exponentially large, that's a good explanation.  That indeed
 is a hard problem (see e.g. #9198).

 But what's odd is that it doesn't bomb out on us when the ASSERT is not
 there. That seems odd to me -- if the types get very large I'd expect the
 type checker to fail even in the absence of the ASSERT.

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


More information about the ghc-tickets mailing list