elliottt opened PR #6018 from trevor/tighten-widen-narrow-constraints
to main
:
In #6013 we added support for two new constraints in the instruction DSL:
narrower
andwider
. While these were meant to replace the special-case typechecking in the verifier, they didn't replicate the logic there exactly: both constraints would include the original control type in the sets they produced.This PR corrects this bug by excluding the control type in the type sets produced when constraining the control type with
narrower
andwider
.<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
elliottt updated PR #6018 from trevor/tighten-widen-narrow-constraints
to main
.
elliottt updated PR #6018 from trevor/tighten-widen-narrow-constraints
to main
.
cfallin submitted PR review.
elliottt updated PR #6018 from trevor/tighten-widen-narrow-constraints
to main
.
elliottt has enabled auto merge for PR #6018.
elliottt merged PR #6018.
Last updated: Nov 22 2024 at 16:03 UTC