Skip to content

Show warning on duplicate struct keys #177

Open
@kubukoz

Description

@kubukoz

Currently, duplicate keys in struct members are ignored (the choice is arbitrary, I guess the first value will be used for typechecking and so on).

It should be implemented in a consistent way (I'm thinking the last value should be used, which would allow for some possible destructuring operators in the future and so on), and a warning should be emitted on unused values (with the ability to remove them).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions