Skip to main content

DECL_ONLY_META

Constant DECL_ONLY_META 

Source
pub const DECL_ONLY_META: &str = "bock_decl_only";
Expand description

Metadata key marking a synthesised temp NodeKind::LetBinding as declare-only: it introduces the binding with no initialiser. The shared hoist_value_cf desugar emits these; every backend’s let emitter checks this key and emits the bare declaration (let x; / var x T / Rust deferred let mut x;) rather than a = <value> initialiser. The carried bock_air::stubs::Value::Bool is always true.