Skip to content

Struct literals should use assignability for their fields #3285

Description

@pcwalton

I see no reason why this wouldn't be safe, and I was bitten by this when using slices and unique strings.

Metadata

Metadata

Assignees

No one assigned

    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