Name the carried source consistently in the entries emitter

This commit is contained in:
Dennis Kobert
2026-09-09 13:13:53 +00:00
parent d7e9e8fe45
commit 663d670492
2 changed files with 2 additions and 2 deletions

View File

@@ -354,7 +354,7 @@ fn document_node_definitions() -> HashMap<DefinitionIdentifier, DocumentNodeDefi
node_type_metadata: NodeTypePersistentMetadata::node(IVec2::new(2, 0)),
..Default::default()
},
// 1: Count Elements (number of subpaths)
// 1: List Length (number of subpaths)
NodeTemplate {
implementation: NodeTemplateImplementation::ProtoNode(vector::list_length::IDENTIFIER),
inputs: vec![NodeInput::node(NodeId(0), 0)],

View File

@@ -310,7 +310,7 @@ fn single_row_entries(parsed: &ParsedNodeFn, struct_name: &Ident, regular_fields
let row_ty = ir::strip_ilist(&impls[row.min(impls.len() - 1)]).0;
let field_ty = match &regular_fields[*index].ty {
ParsedFieldType::Regular(RegularParsedField { ty, .. }) => ty.clone(),
_ => unreachable!("ranked sources are regular fields"),
_ => unreachable!("carried sources are regular fields"),
};
generic_assignment(&field_ty, &row_ty, generic).map(|ty| (generic.clone(), ty))
})