Why is array and dictionary + generic when other operators are not? · Issue #16 · remobjects/SwiftBaseLibrary · GitHub
Skip to content

Why is array and dictionary + generic when other operators are not? #16

Description

@sodiboo

These two definitions for + are generic, but the other operators are not. The other operators can still use the generic type parameter from the array type itself, why does the + use its own generic type parameter? Same thing for Dictionary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions