
#14636: GHC Panic -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 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: -------------------------------------+------------------------------------- {{{ $ ghci -ignore-dot-ghci -XPolyKinds -XDataKinds GHCi, version 8.3.20171208: http://www.haskell.org/ghc/ :? for help Prelude> import Data.Proxy Prelude Data.Proxy> data ID :: a -> a -> * Prelude Data.Proxy> :kind (Proxy :: _ ID) ghc-stage2: panic! (the 'impossible' happened) (GHC version 8.3.20171208 for x86_64-unknown-linux): piResultTy k_a1yY[tau:1] ID Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler/utils/Outputable.hs:1144:37 in ghc:Outputable pprPanic, called at compiler/types/Type.hs:951:35 in ghc:Type Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Prelude Data.Proxy> }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14636 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14636: GHC Panic -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): Can you give a repro case? Do check that it's not already fixed (search Trac for "piResultTy". Thanks! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14636#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14636: GHC Panic -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14520 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => closed * resolution: => duplicate * related: => #14520 Comment: Indeed, this is a duplicate of #14520: {{{ $ ghc/inplace/bin/ghc-stage2 --interactive -ignore-dot-ghci -XPolyKinds -XDataKinds GHCi, version 8.5.20180103: http://www.haskell.org/ghc/ :? for help Prelude> import Data.Proxy Prelude Data.Proxy> data ID :: a -> a -> * Prelude Data.Proxy> :kind (Proxy :: _ ID) <interactive>:1:2: error: • Expecting one more argument to ‘Proxy’ Expected kind ‘_ ID’, but ‘Proxy’ has kind ‘k0 -> *’ • In the type ‘(Proxy :: _ ID)’ }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14636#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC