Skip to content

Conversation

@strub
Copy link
Member

@strub strub commented Mar 10, 2025

When overriding an axiom or lemma, ensure that any errors trigger a user message rather than letting the kernel raising a low-level error.

@strub strub requested a review from MM45 March 10, 2025 08:51
@strub strub self-assigned this Mar 10, 2025
@strub strub linked an issue Mar 10, 2025 that may be closed by this pull request
Copy link
Contributor

@MM45 MM45 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, shows proper error message now.
Ideally, I guess the error message would show where the mismatch occurs, but that sounds like it could be a lot of work.

@fdupress
Copy link
Member

@strub , I am surprised that a change in error message would be a breaking change.
Should we consider this a breaking change or a regression?

@strub
Copy link
Member Author

strub commented Mar 17, 2025

@strub , I am surprised that a change in error message would be a breaking change. Should we consider this a breaking change or a regression?

Rebasing on main should fix the issue.

When overriding an axiom or lemma, ensure that any errors trigger a
user message rather than letting the kernel raising a low-level error.
@strub strub enabled auto-merge (rebase) March 17, 2025 10:54
@strub strub merged commit f9c77c6 into main Mar 17, 2025
15 checks passed
@strub strub deleted the fix-746 branch March 17, 2025 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InvalidGoalShape when trying to instantiate an axiom in clone.

4 participants