Nothing Special   »   [go: up one dir, main page]

Skip to content
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 Create node does not raise type error #785

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

annabeks
Copy link
@annabeks annabeks commented Oct 7, 2024

Fixes: #784

This fixes the issue by type-checking every newly created node even when it is found in the formulae map.
No overhead should have been added as the type is cached.

This also fixes the tests where a type error in smtlib was not noticed, and adds new ones.

Minor: This also fixes the decision on retrying building a type-invalid node in the smtlib parser. Namely, if there are no integer constants within the arguments, there is nothing to change and an exception is directly raised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create node does not raise TypeError
1 participant