-
Notifications
You must be signed in to change notification settings - Fork 459
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
fix: show error messages on name conflicts in mutual
blocks
#6939
Conversation
Of note, because conflicting definitions are elaborated simultaneously and without inherently privileging one or the other, I've opted to display errors at both conflicting locations to aid visual localization. This does come with the trade-off of differing from our conflicting-name errors outside |
Mathlib CI status (docs):
|
28d4fe6
to
9f574f5
Compare
This PR adds error messages for
inductive
declarations with conflicting constructor names andmutual
declarations with conflicting names.Closes #6694.