Adds Unbounded Integer Type - #1033
Merged
Merged
Conversation
Co-authored-by: João Pereira <joaopereira.19@gmail.com>
Co-authored-by: João Pereira <joaopereira.19@gmail.com>
Co-authored-by: João Pereira <joaopereira.19@gmail.com>
Co-authored-by: João Pereira <joaopereira.19@gmail.com>
Member
Author
|
I've reverted the last two commits as they result in several CI failures that would all require a proper type inference mechanism, i.e., the one that #1014 will introduce. In the interest of keeping this PR small, I'm avoiding this change, which means that assigning an |
jcp19
approved these changes
Jun 2, 2026
jcp19
left a comment
Contributor
There was a problem hiding this comment.
LGTM, but I am a bit surprised about the new syntax for perm being included here. That is fine by me, but we should at least add more tests (e.g., show that it produces the expected values at verification time)
Co-authored-by: João Pereira <joaopereira.19@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
integeras an explicit unbounded integer type while leavingintanduintunchanged so farContains some changes from #1014 and #1015
@copilot summary:
This PR introduces
integeras an explicit unbounded integer ghost type, while keepingintanduintbehavior unchanged. In addition, it rejects bitwise and shift operators on values of typeintegerand adds regression tests for the new type behavior.