slow validate failure: rule1 refineFromInScope panic
Reproduce with
hadrian/build test --freeze1 --docs=none --flavour=slow-validate --test-speed=slow --only="rule1
Compile failed (exit code 1) errors were:
ghc: panic! (the 'impossible' happened)
GHC version 9.5.20220805:
refineFromInScope
InScope {wild_00 f h $trModule}
x_avd
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler/GHC/Utils/Panic.hs:188:37 in ghc:GHC.Utils.Panic
pprPanic, called at compiler/GHC/Core/Opt/Simplify/Env.hs:932:30 in ghc:GHC.Core.Opt.Simplify.Env
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug