(GHC 9.2.2) Impossible happened...
Summary
GHC 9.2.2 compiler reports "The impossible happened"
ghc-9.2.2: panic! (the 'impossible' happened)
(GHC version 9.2.2:
mightEqualLater finds an unbound cbv
cbv_a1TC[cbv:1]
[]
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler/GHC/Utils/Panic.hs:181:37 in ghc:GHC.Utils.Panic
pprPanic, called at compiler/GHC/Tc/Solver/Monad.hs:2587:16 in ghc:GHC.Tc.Solver.Monad
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
Steps to reproduce
Build the repo (https://github.com/adamConnerSax/impossible922) with ghc 9.2.2
Expected behavior
I expect it to build (as it does with ghc 8.10.7)
Environment
GHC 9.2.2 (optionally ghc 8.10.7), cabal 3.6.2 (all installed with ghcup)
Optional:
- Operating system: MacOs 12.2.1
- System Architecture: Mac Pro (tower, late 2013)