Interfaces on Structs #7425
Unanswered
TonyValenti
asked this question in
Q&A
Replies: 1 comment
-
That would work for both. Unfortunately, type inference will not, so you'll have to be extremely explicit. To the point that i doubt it would be worth it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to make a single method that essentially "merges" the two definitions below?
I'd ideally like it to work with all nullable structs that implement the interface, not just ImmutableArray.
Beta Was this translation helpful? Give feedback.
All reactions