haskell-hvr / missingh

Utility library [Haskell]
https://hackage.haskell.org/package/MissingH
Other
87 stars 40 forks source link

ghc-9.4.3 haddock crashes in Stackage Nightly #61

Closed juhp closed 1 year ago

juhp commented 1 year ago
Running Haddock on library for MissingH-1.5.0.1..

<no location info>: error:                                                                                                              panic! (the 'impossible' happened)                                                                                              
  GHC version 9.4.3:                                              
        funResultTy                                                                                                                 
  BinPackerError size_a5dp obj_a5dq   
  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:1334:49 in ghc:GHC.Core.Type

Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug
andreasabel commented 1 year ago

cabal haddock works for me with GHC 9.4.3. I can reproduce the problem with stack haddock and resolver: nightly-2022-11-19.

But not sure what I should do on my side here, @juhp.
Maybe you should indeed report it upstream to GHC (and/or stack / haddoc).

andreasabel commented 1 year ago

I cannot reproduce this with nightly-2023-01-14 (GHC 9.4.4), so maybe this issue is resolved, @juhp?

juhp commented 1 year ago

Thanks I agree :+1: