-
Notifications
You must be signed in to change notification settings - Fork 831
Use trackErrors ce instead of ++ custom operator #15813
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
Use trackErrors ce instead of ++ custom operator #15813
Conversation
|
I am not entirely sure how to convert the last one. TryD (fun () -> SolveTypeSubsumesType csenv 0 m NoTrace None reqdObjTy availObjTy ++ (fun () -> ResultD true))
(fun _err -> ResultD false)Update: This is now done |
|
That's good, we can probably remove the |
Update: See
|
psfinaki
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this.
As for removing (++) completely - as usual, I'd prefer a separate PR but not opposed to having it here either :)
|
I'm looking back at this, there are a bunch of |
Do you mean that these can go outside of the |
|
Does it do anything? It seems to me it could be replaced with |
Yeah that's a good point. On this PR I wanted to just replace the ++ operator, But I think it can be optimized in follow-up PR |
While contributing I always find confusing using custom operators.
In this PR my goal is to replace the usage of
with