Replies: 1 comment
-
|
I'm wondering the same thing. |
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.
-
Why is there no implicit conversion from
ImmutableArray<T>toReadOnlySpan<T>?I found this issue, but somehow the full API proposal missed the implicit conversion mentioned in the head of the issue.
T[]already has an implicit conversion toReadOnlySpan<T>, so this is an inconsistency betweenImmutableArray<T>andT[]. I understand that there is a risk of breaking overload resolution by adding an implicit conversion, though.Beta Was this translation helpful? Give feedback.
All reactions