Skip to content

Fix empty tag union provenance in postcheck#10076

Closed
jaredramirez wants to merge 1 commit into
mainfrom
fix-empty-tag-union-provenance
Closed

Fix empty tag union provenance in postcheck#10076
jaredramirez wants to merge 1 commit into
mainfrom
fix-empty-tag-union-provenance

Conversation

@jaredramirez

Copy link
Copy Markdown
Collaborator

Summary

  • distinguish explicit empty tag unions from unconstrained materialized slots in Monotype import
  • stop Lambda Solved from yielding explicit empty tag unions into unconstrained slots
  • preserve graph-backed empty row provenance for attached-method dispatch paths
  • handle uninhabited lambda argument specializations without lowering impossible operand flow

Fixes #10067

Verification

  • nix shell nixpkgs#rustc nixpkgs#cargo -c zig build minici --summary failures --color off
  • MiniCI summary: 61/61 phases ran; 61 passed, 0 failed, 0 crashed, 0 skipped

@jaredramirez jaredramirez self-assigned this Jul 11, 2026
@jaredramirez
jaredramirez force-pushed the fix-empty-tag-union-provenance branch from 31c6bf5 to 1864724 Compare July 20, 2026 19:58
Main independently landed the dispatch-evidence, type-digest, structural-map
derivation, and pre_lowered rewrites this branch was pursuing, and main passes
the scenarios this branch targeted (dispatch cycles, derived-parser FieldNames,
Json host-effects). Rather than weave two overlapping rewrites of the same
subsystem together, this defers the whole checked/postcheck/lir subsystem to
main.

Retains the branch's regression tests that pass against main and the planning
docs; regenerates snapshots to match the current compiler.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DGo1pdehucvHBTSoGBm22n
@jaredramirez
jaredramirez force-pushed the fix-empty-tag-union-provenance branch from 1864724 to 1e465ca Compare July 20, 2026 20:02
@jaredramirez

Copy link
Copy Markdown
Collaborator Author

this has been superceded by other PRs

@jaredramirez
jaredramirez deleted the fix-empty-tag-union-provenance branch July 21, 2026 02:26
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.

Distinguish explicit empty tag unions from unconstrained materialized slots

1 participant