ODHack13compilercompiler: uigood first issuemay be rewardedteam:compiler
説明
Now when Idents are used instead of strings, those redundant spans are really annoying and bloating the code.
See this TODO.
When removing those redundant spans we can have a situation that deduplication of error messages might remove errors that are actually not duplicates because although they point to the same Ident (in terms of name), their Spans can be different. Deduplication works on hashes and Ident's hash contains only the name and not the span.
That's why we should always using IdentUnique.