[GHC] #13685: ghc: panic

#13685: ghc: panic -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- A friendly compiler asked me to report {{{#!hs {-# Language KindSignatures, TypeInType, MagicHash #-} module A where import Data.Kind import GHC.Types i :: (a :: TYPE DoubleRep) -> a i x = x main = print (D# (i 3.0##)) }}} panics {{{ $ ghci -ignore-dot-ghci /tmp/A.hs GHCi, version 8.0.1: http://www.haskell.org/ghc/ :? for help [1 of 1] Compiling A ( /tmp/A.hs, interpreted ) ghc: panic! (the 'impossible' happened) (GHC version 8.0.1 for x86_64-unknown-linux): getIdFromTrivialExpr 3.0## Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13685 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13685: ghc: panic -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #12850 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => closed * resolution: => duplicate * related: => #12850 Comment: I'm closing this as a duplicate of #12850, since they're extremely similar programs. Luckily, I just noticed that #12850 (and this ticket as well) have been fixed as of GHC 8.2.1. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13685#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13685: ghc: panic -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #12850 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Iceland_jack): Excellent, thanks -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13685#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC