Skip to content

Assertion failure for functor-combinators-0.4.1.2 with GHC 9.4

Building functor-combinators-0.4.1.2 with an assertion enabled GHC 9.4 results in:

[23 of 29] Compiling Data.HBifunctor.Tensor ( src/Data/HBifunctor/Tensor.hs, dist/build/Data/HBifunctor/Tensor.o, dist/build/Data/HBifunctor/Tensor.dyn_o )

<no location info>: error:
    panic! (the 'impossible' happened)
  GHC version 9.4.7:
	ASSERT failed!
  CanEqCanLHSFinish: (TyEq:N) not satisfied
  rhs: Not
  Call stack:
      CallStack (from HasCallStack):
        assertPprM, called at compiler/GHC/Tc/Solver/Canonical.hs:2346:10 in ghc:GHC.Tc.Solver.Canonical
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information