serde icon indicating copy to clipboard operation
serde copied to clipboard

Add checks for conflicts for aliases

Open Mingun opened this issue 10 months ago • 1 comments

  • Check that alias is not the same as name of other field / variant (it still can be the name of owning field / variant)
  • Check that aliases are unique, i. e. two different fields / variants does not use the same alias

It would be better, if error points to corresponding alias, but currently alias spans are not stored anywhere, so I left this to another PR.

Fixes #2308, fixes #2551

Mingun avatar Aug 08 '23 17:08 Mingun