Skip to content

Document and add tests: collection conversions of mutable create a copy #11872

Open
@lrytz

Description

@lrytz

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions