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

GHC ghc-devs at haskell.org
Thu Feb 8 11:16:40 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 mpickering):

 I can't reproduce this. Please can you provide exact reproduction
 instructions?

 Steps I took:

 {{{
 git clone https://github.com/NICTA/cogent.git
 cd cogent/cogent
 git reset --hard 92c40530cbcbac77469865e096dab3228a2fb92f
 git clone https://gist.github.com/e6fc9e8a254d795bbd8ec476ca9fc115.git
 nix-scripts
 cp nix-scripts/* .
 nix-shell
 cabal configure
 cabal build
 }}}

 Then the build completes successfully.

 Here are the nix files.
 https://gist.github.com/e6fc9e8a254d795bbd8ec476ca9fc115

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


More information about the ghc-tickets mailing list