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

Permit Constraints with Void Context #378

Closed
DavePearce opened this issue Nov 5, 2024 · 0 comments · Fixed by #379
Closed

Permit Constraints with Void Context #378

DavePearce opened this issue Nov 5, 2024 · 0 comments · Fixed by #379

Comments

@DavePearce
Copy link
Collaborator

At the moment, when a vanishing constraint has the void context then a failure is raised. However, it is possible for valid situations to arise where the void context arises. Specifically, an example like this:

(defconstraint stamp-increment-sanity-check ()
  (begin                                                                      
    (vanishes! 0)                                                                
    (debug (any! (will-remain-constant! STAMP) (will-inc! STAMP 1)))))

Whilst this is a somewhat undesirable example, its still useful to support it at this time.

@DavePearce DavePearce linked a pull request Nov 5, 2024 that will close this issue
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 a pull request may close this issue.

1 participant