Skip to content

Iterable<E>.contains() argument should be templated? #37685

Closed
@duzenko

Description

@duzenko

Currently the contains(Object element) method accepts any argument value.
I wonder why not limit element to template type E?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.closed-duplicateClosed in favor of an existing reportclosed-not-plannedClosed as we don't intend to take action on the reported issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions