pub fn emit_suite_late_codecs(
types: &[TypeDecl],
typed: &TypedCommons,
qual: &HashMap<String, String>,
runtime_use: &RuntimeUse,
reached: &[TyId],
) -> Vec<TsStmt>Expand description
#3111: the codecs a runner’s body reached for beyond the always-present
ones (emit_suite_decls): a suite type under another generic (Result,
a user generic, nested containers) at a Json boundary. reached is what
the runner’s lowering noted; only roots that name a suite type are served
here (the module-level closure serves the rest). Returns the function
declarations, with export dropped, to be spliced ahead of the body; empty
when the body reached nothing new.