Skip to content

fuzz: compare lists with an element equality - #293

Merged
samoht merged 1 commit into
mainfrom
fuzz-equal-list
Aug 2, 2026
Merged

fuzz: compare lists with an element equality#293
samoht merged 1 commit into
mainfrom
fuzz-equal-list

Conversation

@samoht

@samoht samoht commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Seven polymorphic list comparisons in the fuzz suite tripped merlint E106, which blocks the pre-commit hook on any commit to the tree. Six compare lists of scalars and were only unidiomatic; fuzz_context.ml's supports check compared a Supports.t list, walking an abstract type from another module past its abstraction - that one now calls Supports.equal, which the module already exports. No behaviour change: same assertions, same failures.

The polymorphic <> walked a Supports.t list past its abstraction, and the
pre-commit hook stopped on all seven sites.
@samoht
samoht merged commit 2ac9aa2 into main Aug 2, 2026
5 checks passed
@samoht
samoht deleted the fuzz-equal-list branch August 2, 2026 06:01
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