Skip to main content

block_writes

Function block_writes 

Source
pub fn block_writes(
    def: &ComponentDef<'_>,
    block: Block<'_>,
    _interner: &Interner,
) -> Vec<Symbol>
Expand description

The state fields one block of statements writes — the same walk component_deps uses for an action, exposed so a lowering can ask about a body it is about to emit.

Shared rather than re-derived: a second copy of “what counts as a write” drifts the first time a verb is added, and the two answers disagreeing means one tier patches while the other repaints — a divergence on the same page.