Skip to content

More BinOp::Offset tests#935

Merged
automergerpr-permission-manager[bot] merged 4 commits intomasterfrom
dc/more-binop-offset-tests
Feb 4, 2026
Merged

More BinOp::Offset tests#935
automergerpr-permission-manager[bot] merged 4 commits intomasterfrom
dc/more-binop-offset-tests

Conversation

@dkcumming
Copy link
Collaborator

Adding more tests for correcting the semantics of BinOp::Offset

Comment on lines 64 to 66
'ref-ptr-cast-arr-offset-fail', # Should pass
'ref-ptr-cast-elem-fail', # Should pass
'ref-ptr-cast-elem-offset-fail', # Should pass
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's safe to remove these comments, as all the tests on this list are expected to pass and are enabled on CI.

Copy link
Contributor

@tothtamas28 tothtamas28 Feb 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, maybe you can add

# ref-ptr-cast-arr.rs - fails for now

or something similar to indicate that there's a test file which is not yet exercised.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll just remove them

@automergerpr-permission-manager automergerpr-permission-manager bot merged commit 55f06be into master Feb 4, 2026
7 checks passed
@automergerpr-permission-manager automergerpr-permission-manager bot deleted the dc/more-binop-offset-tests branch February 4, 2026 13:32
automergerpr-permission-manager bot pushed a commit that referenced this pull request Feb 11, 2026
- More `BinOp::Offset` tests #935
- fix: type of offset for applyBinOp(binOpOffset, ...) #936
- Add type-correcting projections on pointer cast and related operations
#937

---------

Co-authored-by: Maria Kotsifakou <kotsifakou.maria@gmail.com>
Co-authored-by: Jost Berthold <jost.berthold@gmail.com>
automergerpr-permission-manager bot pushed a commit to runtimeverification/solana-token that referenced this pull request Feb 11, 2026
- [More BinOp::Offset tests More BinOp::Offset
tests](runtimeverification/mir-semantics#935)
- [fix: type of offset for applyBinOp(binOpOffset, ...) fix: type of
offset for applyBinOp(binOpOffset, ...)](936)
- [Add type-correcting projections on pointer cast and related
operations](runtimeverification/mir-semantics#937)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants