Skip to content

Panic on piResultTys1

I've come across a GHC panic which I wasn't able to reproduce after I cleaned cabal's build directory.

Unfortunately there might not be much to do about this except for a quick audit of the code that might lead to the bug.

Otherwise, I think we can close this until it comes up in a reproducible environment. I just thought it might be useful to at least report.

<no location info>: error:
    panic! (the 'impossible' happened)
  GHC version 9.4.4:
	piResultTys1
  Type
  [MappedBuffer]
  Call stack:
      CallStack (from HasCallStack):
        callStackDoc, called at compiler/GHC/Utils/Panic.hs:182:37 in ghc:GHC.Utils.Panic
        pprPanic, called at compiler/GHC/Core/Type.hs:1397:5 in ghc:GHC.Core.Type

Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information