Fix shadowing bug in prepareAlts
As #23012 (closed) showed, GHC.Core.Opt.Simpllify.Utils.prepareAlts
was
using an OutType
to construct an InAlt
. When shadowing is in play,
this is outright wrong.
See Note [Shadowing in prepareAlts]
.
Edited by Simon Peyton Jones