[GHC] #14777: panic when using a function defined in terms of `error`

GHC ghc-devs at haskell.org
Mon Mar 12 03:11:42 UTC 2018


#14777: panic when using a function defined in terms of `error`
-------------------------------------+-------------------------------------
        Reporter:  zilinc            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by monoidal):

 I have simplified a bit further, to 2 files; can be reproduced with

 {{{
 ghc-8.2.1 --make Cogent/Desugar -fforce-recomp -O2
 }}}

 This doesn't appear on ghc 8.4 - likely this was fixed. However, the panic
 depends on many conditions, even small changes to code can make it
 disappear, so it might be worth further investigation.

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


More information about the ghc-tickets mailing list