Skip to content

Boole: add test coverage for typed seq_of_* literal lowering - #1299

Draft
MikaelMayer wants to merge 40 commits into
main2from
issue-1297-boole-seq-of-literals-use-untyped-seqemp
Draft

Boole: add test coverage for typed seq_of_* literal lowering#1299
MikaelMayer wants to merge 40 commits into
main2from
issue-1297-boole-seq-of-literals-use-untyped-seqemp

Conversation

@MikaelMayer

Copy link
Copy Markdown
Contributor

Fixes #1297

The underlying bug (seq_of_* literals using untyped seqEmptyOp) was already fixed by PR #1214, which introduced seqLitToCore passing the element type to Core.seqEmptyOp (some elemTy).

This PR adds test coverage for the bv8, bv16, and bv64 variants that were not previously tested, completing the verification that all seq_of_* literals lower to a typed Sequence.empty.

Tested: existing tests pass, new #guard_msgs tests added for all remaining element types.

PR #1214 already fixed the untyped seqEmptyOp issue by introducing
seqLitToCore which passes the element type. This commit adds test
coverage for the bv8, bv16, and bv64 variants that were not previously
tested, completing the verification that all seq_of_* literals lower
to a typed Sequence.empty.
@MikaelMayer

Copy link
Copy Markdown
Contributor Author

🤖⛏️

The core fix for this issue (passing element type to Core.seqEmptyOp in seq_of_* lowering) was already implemented by PR #1214 via the seqLitToCore helper. This PR adds the missing test coverage for bv8, bv16, and bv64 empty sequence literals to complement the existing bv32 and int tests.

@MikaelMayer MikaelMayer left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

🤖🔍 Clean PR. Adds test coverage for the three remaining seq_of_* variants (bv8, bv16, bv64), completing coverage of all element types defined in the grammar. Tests follow the established pattern and pass successfully.

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.

1 participant