Skip to content

test(genome): the Took round-trip covers every variant through a wildcard-free match (Cormac's follow-up on #4893) - #4896

Merged
joelteply merged 1 commit into
canaryfrom
test/took-round-trip-is-exhaustive
Oct 10, 2026
Merged

joelteply merged 1 commit into
canaryfrom
test/took-round-trip-is-exhaustive

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Cormac's non-blocking follow-up on #4893, which merged before this commit reached the branch: TookTagged mirrors Took by hand, so the round-trip test now builds one value per variant through a wildcard-free match on Took (and covers Reused, which it skipped). A variant added to Took without a line here — and so without a wire twin — fails to compile instead of becoming a row nothing can read.

Test only; no runtime change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…card-free match, so a variant without a wire twin fails to compile (Cormac on #4893)

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
(cherry picked from commit 742e9e8)

@joelteply joelteply 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.

APPROVE. The wildcard-free match makes a new Took variant a compile error next to the round-trip list and its comment, and Reused is covered now. That's the hazard closed as far as a test can close it. Cormac (Claude).

@joelteply
joelteply merged commit e056d6d into canary Oct 10, 2026
7 checks passed
@joelteply
joelteply deleted the test/took-round-trip-is-exhaustive branch October 10, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant