You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
converting a mutable collection (to(collection.mutable.X), to(collection.X), toArray) always creates a copy, even if the original collection has a conforming type. converting an immutable collection doesn't copy if the collection's type conforms to the result.
Made a PR about changes to the documentation.
The next step is to add tests, but I'd like some advice on which tests to add, or create a new test file.
Follow-up for #11868.
converting a mutable collection (
to(collection.mutable.X)
,to(collection.X)
,toArray
) always creates a copy, even if the original collection has a conforming type. converting an immutable collection doesn't copy if the collection's type conforms to the result.The text was updated successfully, but these errors were encountered: