Repository navigation
compiler: test coverage for kernel set-membership symbols \in/\notin/\ni (fixes #40) - #747
Merged
Merged
Conversation
$a \in B, c \notin D, E \ni f$ compiles with zero diagnostics and renders a∈B,c∉D,E∋f through compile_full_project; per-symbol tests pin each of ∈ U+2208, ∉ U+2209, ∋ U+220B so a future dispatch regression in command_glyph cannot silently drop one name. Implementation-Agent: muse-spark-1.3-contributor
This was referenced Sep 16, 2026
d-q222
added a commit
that referenced
this pull request
Sep 17, 2026
#784 All eight independently reviewed APPROVE. Batch verification: compiler 935/0, render-pipeline 487/0, perf-bench 14/0, perf gate OK (270 metrics, no regression), swift build --build-tests OK, CompletionTests 29/0. Commit-Executor: daniel-parent Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
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.
Scope
Fixes #40: adds the missing regression test for kernel set-membership
symbols (
\in,\notin,\ni) in math mode.crates/compiler/tests/membership.rsonly (new file, 80 lines); no implementation change — the dispatch already
existed (
("in", "∈")/("notin", "∉")/("ni", "∋")incrates/compiler/src/math.rs) and was independently verified workingend-to-end before this PR: zero diagnostics, correct glyphs. The gap was
purely that no test on main covered it — neither a named test nor the
generic
supported.rsinventory sweep (these three names aren't in thatinventory).
Overlap check
Test-only addition, new file, no overlap with any other open PR.
Test results
4 new tests (
in_renders_element_of,notin_renders_not_an_element_of,ni_renders_contains_as_member,combined_membership_case_renders_all_three_glyphs— the last one guards against a dispatch regression breaking one name but
not the others).
Independently re-verified by the supervisor (fresh
CARGO_TARGET_DIR):cargo test --test membership: 4 passed, 0 failed, matches the lane'sown report exactly.
("notin", "∉"),confirmed exactly the 2
notin-touching tests fail with"\notin is not supported in math mode"(UnsupportedFeature); restored,git diffempty, 4/4 pass again.crates/compilersuite (fresh target dir): all suites green, 0failures.
Not done
Nothing else in scope. A natural follow-up (not part of this slice): the
lane noted neighbouring relation glyphs in the same table region
(
\subset,\subseteq,\supset) also lack exact-glyph test coverage —same shape of gap, different issue if wanted.
🤖 Generated with Claude Code