Skip to content
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

Finish adding implicit operators for all the Result<T1, T2, etc.> to Result<T1, T2, T3, etc.> conversions #3

Open
DamianEdwards opened this issue Nov 13, 2021 · 2 comments

Comments

@DamianEdwards
Copy link
Owner

Really feels like I should be code-genning these...

@DamianEdwards
Copy link
Owner Author

Now I've thought about it for 15 mins I think this is far easier than I realized. I can just implement a single implicit operator on each Results<T> class that accepts ResultsBase. That should be all that's needed.

@DamianEdwards
Copy link
Owner Author

Yeah that doesn't work, can't have user-defined operators that use interfaces or base classes 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant