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: Error when missing reduce #194

Merged
merged 2 commits into from
Jun 12, 2024
Merged

Conversation

DavePearce
Copy link
Collaborator

This puts in place additional layers of check to try and prevent wierd situations arising from the use of for.

This puts in place a fix for catching guards which are non-atomic.  That
is, guards which actually expand leading to multiple constraints.  Since
this is unlikely to be what was intended, an error is reported instead.
This adds a layer of additional checks for intrinsics to catch
situations which don't make sense.  Specifically, we don't allow a list
argument to `+` / `*` / `-`.  Whilst this is potentially quite
restrictive, it doesn't seem to break anything.
@DavePearce DavePearce linked an issue Jun 12, 2024 that may be closed by this pull request
@DavePearce DavePearce merged commit 5d4386a into master Jun 12, 2024
1 check passed
@DavePearce DavePearce deleted the 191-error-when-missing-reduce branch June 12, 2024 03:49
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.

Error when Missing Reduce
1 participant