Function lower_draft
pub fn lower_draft(draft: &ModelDraft) -> Result<CompiledModel, Vec<Diagnostic>>Description
Type-lower one client-neutral native model draft.
Native declarations bypass parsing, but intentionally do not bypass name, dimension, activation, expression-DAG, or transaction lowering. Synthetic ranges are removed from diagnostics and replaced with stable declaration paths; they never pretend to be source locations.
ยงErrors
Returns graph-path diagnostics for invalid native declarations. No partial transaction is returned.