InScope ASSERT failure with break006
+panic! (the 'impossible' happened)
+ GHC version 9.3.20220221:
+ ASSERT failed!
+ in_scope InScope {wild_00}
+ tenv [ams :-> LiftedRep, amt :-> LiftedRep, amu :-> a_I16g[rt],
+ amv :-> ()]
+ tenvFVs {a_I16g[rt]}
+ cenv []
+ cenvFVs {}
+ tys [q_ams]
+ cos []
+ Call stack:
+ CallStack (from HasCallStack):
+ assertPpr, called at compiler/GHC/Core/TyCo/Subst.hs:<line>:<column> in <package-id>:GHC.Core.TyCo.Subst
+ checkValidSubst, called at compiler/GHC/Core/TyCo/Subst.hs:<line>:<column> in <package-id>:GHC.Core.TyCo.Subst
+ substTy, called at compiler/GHC/Core/Opt/Simplify/Env.hs:<line>:<column> in <package-id>:GHC.Core.Opt.Simplify.Env
Related to #21113 (closed)