Skip to content

Struct literals should use assignability for their fields #3285

Closed
@pcwalton

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions