[GHC] #13432: ghc: panic! (the 'impossible' happened)

#13432: ghc: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: brikken | 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: -------------------------------------+------------------------------------- **Command** {{{ ghc -c prettystub.hs }}} **Result** {{{ ghc: panic! (the 'impossible' happened) (GHC version 8.0.2 for x86_64-unknown-mingw32): initTc: unsolved constraints WC {wc_insol = [W] hexEscape_a2yj :: t_a2yi[tau:1] (CHoleCan: hexEscape)} Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13432 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13432: ghc: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: brikken | 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 brikken): * Attachment "PrettyJSON.hs" added. source file to be compiled -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13432 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13432: ghc: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: brikken | 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 brikken): * Attachment "PrettyStub.hs" added. required module #1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13432 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13432: ghc: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: brikken | 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: | -------------------------------------+------------------------------------- Comment (by simonpj): Perhaps a dup of #13416? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13432#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13432: ghc: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: brikken | 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 brikken): * Attachment "SimpleJSON.hs" added. required module #2 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13432 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13432: ghc: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: brikken | 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: #13416 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => closed * resolution: => duplicate * related: => #13416 Comment: Replying to [comment:1 simonpj]:
Perhaps a dup of #13416?
Yep. You'll get a better error message in GHC 8.2: {{{ [1 of 3] Compiling SimpleJSON ( SimpleJSON.hs, interpreted ) [2 of 3] Compiling PrettyStub ( PrettyStub.hs, interpreted ) [3 of 3] Compiling Main ( PrettyJSON.hs, interpreted ) PrettyJSON.hs:23:36: error: Variable not in scope: hexEscape :: Char -> Doc | 23 | Nothing | mustEscape c -> hexEscape c | }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13432#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC