-
-
Notifications
You must be signed in to change notification settings - Fork 389
Wingman doesn't case split on forall-quantified values #2046
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
But this is odd, because HyInfo
{ hi_name = combine
, hi_provenance = ClassMethodPrv Semigroupal
, hi_type = forall x y x' y'. Op (p x y, p x' y') (p (x, x') (y, y'))
} Thus I'd expect Wingman to try case combine of
Op { getOp = x } -> _ and then solve the hole immediately via |
But the desired goal in
|
Spitting depends on
which doesn't peek through haskell-language-server/plugins/hls-tactics-plugin/src/Wingman/GHC.hs Lines 94 to 99 in 868e476
nor here:
Mystery solved! |
@ssbothwell reports:
Wingman can't write this function, even though the implementation is just
getOp combine
.The text was updated successfully, but these errors were encountered: