Skip to content

audit:all is clean on the compiler's own source, and the battery keeps it there (#3423) - #3427

Merged
ehartford merged 3 commits into
mainfrom
generic-arg-typing
Nov 18, 2026
Merged

ehartford merged 3 commits into
mainfrom
generic-arg-typing

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Closes #3423.

The last five records.

  • A deref's type is recorded where Sema decides it. The deref branch returned the pointee without recording it for the node; a generic method's Some(*v) kept the pointee of the instantiation checked first, and the next one was lowered against it (Memo.get: MIR i32, Sema i64). The programs ran correctly; the recorded type was stale.
  • A sequence piped into an iterator stage is recorded as the iterator its inserted .iter() builds (D142): the stage reads that iterator where it names the piped expression.

The gate. self-audit runs with analyze src/main.w audit:all with the release compiler (about 220 s) and is part of the test-with-audits group, so the battery runs it beside the drop and move audits. 76 violations had accumulated on main because nothing ran it.

Test: behav_audit_generic_deref_and_pipeline_source (fails before, passes after).

audit:all on src/main.w: violations=0. Battery green on the branch tip (self-audit included); :release-checks green.

Eric Hartford added 3 commits November 17, 2026 22:57
…corded where Sema decides it (a generic method's Some(*v) kept the pointee of the instantiation checked first); a sequence piped into an iterator stage is recorded as the iterator its inserted .iter() builds (#3423)
… src/main.w audit:all, beside the drop and move audits (#3423)
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.

audit:all is red on the compiler's own source: 35 resolution violations and 5 frozen-phase re-entries

1 participant