pub fn wrap_var_type(ty: Type) -> Arc<Type>Expand description
Wrap a variable type in an interned Arc<Type>. Use instead of
Arc::new(ty) at FlowState::set_var and parameter-init sites so that
common scalars (string, int, bool, null, mixed) share a static Arc rather
than allocating a fresh one per assignment.