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

Allow conditions inside loops to preserve or narrow int range #8934

Merged
merged 1 commit into from Dec 18, 2022

Conversation

theodorejb
Copy link
Contributor

@theodorejb theodorejb commented Dec 18, 2022

Fixes #7555, fixes #8020, fixes #8534, fixes #8838, fixes #8865

I lack familiarity with the assertion reconciler code, so I'm not sure if there is something the continue if $inside_loop checks were necessary for. But at least the current tests still seem to pass without them, and this fixes issues where conditions inside a loop failed to preserve or narrow the range of an int as expected.

@theodorejb theodorejb changed the title Allow conditions inside loops to narrow int range Allow conditions inside loops to preserve or narrow int range Dec 18, 2022
@danog danog added the release:fix The PR will be included in 'Fixes' section of the release notes label Dec 18, 2022
@orklah
Copy link
Collaborator

orklah commented Dec 18, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix The PR will be included in 'Fixes' section of the release notes
Projects
None yet
3 participants