Skip to content

facade: whether an item is bridged is decided twice (Sema's facade_contract_presented and FacadeRender's li.bridged) — one owner #2223

Closed

Description

@ehartford

Law 3 (docs/mission.md): one owner per fact. Whether a free facade item renders through a bridge and is redirected to it is decided independently in Sema (facade_contract_presented, facade_bridge_of, the raw-pointer refusal loop) and in FacadeRender (li.bridged from the clause list). They drifted on #2218 when nullable param N was widened to any function-pointer parameter: the renderer bridged the item while Sema neither redirected the call nor exempted the parameter, and each site needed its own edit. The decision belongs in Sema; the renderer should read it (a per-contract flag or the bridge name), never recompute it from the clauses.

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