-
Notifications
You must be signed in to change notification settings - Fork 13.2k
processDiagnosticMessages: Simplify check for uniqueness of names #17331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ac962b8 to
bbc9d65
Compare
|
@weswigham Any idea why |
|
@Andy-MS |
|
OK, I had been confused before because in the old implementation, if (caseSensitive) {
s1 = s1.toLowerCase();
s2 = s2.toLowerCase();
}Since |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removes the automatic generation of noncolliding names and introduces case sensitivity. I think the case sensitivity is probably bad - we probably shouldn't be introducing multiple diagnostics which only differ in case (even if that was the old behavior), and it's good to catch that here. The automatic collision renaming... well, if we're not triggering it then I guess it doesn't really have a point and is fine to remove.
|
@weswigham We already have both |
|
Alright. |
Tested with:
No change.