[GHC] #13612: ghc.exe: panic! (the 'impossible' happened)

#13612: ghc.exe: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: hmemcpy | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Keywords: | Operating System: Windows Architecture: x86_64 | Type of failure: Compile-time (amd64) | crash or panic Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Full output: {{{ ghc.exe: panic! (the 'impossible' happened) (GHC version 8.0.2 for x86_64-unknown-mingw32): initTc: unsolved constraints WC {wc_insol = [W] n_a1qA :: t_a1qz[tau:1] (CHoleCan: n)} Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} This failed on a trivial (albeit incorrect) "Hello world" code, while trying to execute it with stack: **stack Main.hs** The code file is attached. Note that this error happens when it incorrectly specifies the non- existing value **n** (instead of **name**) in the last expression. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13612 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13612: ghc.exe: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: hmemcpy | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by hmemcpy): * Attachment "Main.hs" added. Offending code file -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13612 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13612: ghc.exe: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: hmemcpy | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: duplicate | Keywords: Operating System: Windows | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: #13106 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => closed * resolution: => duplicate * related: => #13106 Comment: Thanks for the report. This is a duplicate of #13106, which will be fixed in GHC 8.2.1. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13612#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC