You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{-# LANGUAGE GADTs, RankNTypes #-}
dataEabwhereE::forallab. (b~a, Orda) =>b->Ea [a]
test::EIntb->Int
test x = _
In the above, case splitting on x will result in
test x = (case x of { (E stltlbl_i b) -> _ })
which introduces an additional argument to E that should not be there. My suspicion is that this was introduced with 79b98f0 which is the opposite of what I'd expect from the commit message.
Can you shed more light on what issue the commit was fixing @konn ? Replacing dataConInstArgTys with dataConInstOrigArgTys seems to work fine with ghc 8.6.5 and also works with the above test case.