[GHC] #15609: No skolem info panic: Static pointers and holes

#15609: No skolem info panic: Static pointers and holes -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 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: -------------------------------------+------------------------------------- The following program panics: {{{ {-# LANGUAGE StaticPointers #-} {-# LANGUAGE GADTs #-} module Panic where data Closure a where foo :: (Closure a -> Closure b) -> Closure (a -> b) foo f = static _ }}} {{{ src/Panic.hs:8:16: error:ghc: panic! (the 'impossible' happened) (GHC version 8.6.0.20180810 for x86_64-unknown-linux): No skolem info: [a_a5rt[sk:1], b_a5ru[sk:1]] Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler/utils/Outputable.hs:1164:37 in ghc:Outputable pprPanic, called at compiler/typecheck/TcErrors.hs:2851:5 in ghc:TcErrors Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15609 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15609: No skolem info panic: Static pointers and holes -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.6.1-beta1 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: | -------------------------------------+------------------------------------- Changes (by mpickering): * version: 8.4.3 => 8.6.1-beta1 Comment: Happens with 8.6.1 as well. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15609#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15609: No skolem info panic: Static pointers and holes -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.6.1-beta1 Resolution: duplicate | 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: | -------------------------------------+------------------------------------- Changes (by mpickering): * status: new => closed * resolution: => duplicate Comment: Same as #13499 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15609#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC