Skip to content

D65 #1647 phase 5: MirLower reads Sema's resolution (ident-callee dispatch, sym_is_generic_fn, facade rendering, strict validators) #2043

Closed

Description

@ehartford

Phase 5 of docs/spec/implementation/mir-sema-hardening.md, split from #1647 (phases 1–4 merged in 74e3001). Plan text: the lower_expr ident-callee dispatch becomes one ordered switch on Sema's resolved kind (local callable, view callable, closure body, function symbol, generic, variant constructor, distinct-type constructor, builtin); sym_is_generic_fn stops matching by symbol text; facade rendering emits only ordinary calls plus effects (MIR knows nothing about facades). Done when every audit:resolution category is on in audit:all and the validators are strict (post-Sema invalid MIR fails the build naming the compiler). Also: generic instance names are still spelled from LLVM argument types (left by the gaps work). In progress on branch wave-d65c (Eric 2026-10-03: in this campaign, not after STC).

Activity

  1. 26 remaining items

  2. added a commit that references this issue on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions