Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Put an X in this bracket to confirm you have read the
External Contribution Guidelines.
Please put the link to your
RFC
orbug
issue here.PRs missing this link will be marked as
missing RFC
.If that issue does not already have approval from a developer,
please be sure to open this PR in "Draft" mode.
Please make sure the PR has excellent documentation and tests.
If we label it
missing documentation
ormissing tests
then it needs fixing!You can manage the
awaiting-review
,awaiting-author
, andWIP
labelsyourself, by writing a comment containing one of these labels on its own line.
Right now, Lean's error message when providing a nonexistent case tag is somewhat unhelpful. It says
tag not found
.With these changes, Lean instead lists the available tags that the user could have written, making the message more helpful. I also think that this phrasing is somewhat more likely to inform a new user that a "tag" is the name of the case that comes out of
cases
orinduction
.